Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vec![in] without elements to use correct allocator #11

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Fix vec![in] without elements to use correct allocator #11

merged 1 commit into from
Jan 30, 2024

Conversation

cloneable
Copy link
Contributor

Vec::new() uses the default allocator, Global.

Copy link
Owner

@zakarumych zakarumych left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct, thank you!

@zakarumych zakarumych merged commit 738620d into zakarumych:main Jan 30, 2024
13 of 15 checks passed
@cloneable cloneable deleted the fix-vec-in-zero-elements branch January 30, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants