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
Docs for result::collect and option::collect should use boxed pointers and Vec
s
#14991
Comments
This should just be updated to use |
:( right, there's no |
Reworded and resubmitted as mentioned. |
nathantypanski
added a commit
to nathantypanski/rust
that referenced
this issue
Jun 18, 2014
This updates the documentation for result::collect() and option::collect() to use the new-style syntax for vectors, instead of the old ~[]. Also updates the code blocks for these docs so they will be tested automatically. closes rust-lang#14991
bors
added a commit
that referenced
this issue
Jun 18, 2014
This updates the documentation for result::collect() and option::collect() to use the new-style syntax for owned pointers and vectors. closes #14991
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
They both follow basically the same format:
These should be updated to use
box
andVec
.Edit:
box
was necessary.The text was updated successfully, but these errors were encountered: