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

Docs: please mention panicking in vec! documentation #30281

Closed
e-oz opened this issue Dec 9, 2015 · 1 comment
Closed

Docs: please mention panicking in vec! documentation #30281

e-oz opened this issue Dec 9, 2015 · 1 comment

Comments

@e-oz
Copy link

e-oz commented Dec 9, 2015

Example of panic:
http://is.gd/tXpV3W

0 words "panic" here: https://doc.rust-lang.org/nightly/book/vectors.html
and here: https://doc.rust-lang.org/nightly/std/vec/

@steveklabnik
Copy link
Member

This isn't due to Vec directly, it is due to Index.

That said, it should still be mentioned overall, but will certainly be part of my API docs work. Would you mind leaving a comment over on #29380? Thanks!

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

No branches or pull requests

2 participants