-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
exercises/05_vecs/vecs1.rs: TODO clarification #2194
Comments
I think what the exercise intended was Although it wouldn't make much of a difference if you use |
The alternative which references the
|
I think you try to overengineering this :) |
Yes, but many people get confused by this exercise, so I will do something to make the intention clear. |
exercises/05_vecs/vecs1.rs:
vec! macro can only be used like this:
vec![10, 20, 30, 40]
.Is it intended to be like this? I guess, it would make more sense to use
Vec::from(a)
The text was updated successfully, but these errors were encountered: