-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Wrong name used in code example in Rust reference #21770
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
Comments
I'd be willing to submit a PR if someone could check to see if my reasoning is correct. |
When in doubt, the reference is probably wrong 😉 I have it scheduled to update during the beta period, and so I believe you are correct. A PR would be great, thanks!= |
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Feb 1, 2015
as titled. See issue rust-lang#21770
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Feb 2, 2015
as titled. See issue rust-lang#21770
Fixed in #21819 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the Use Declarations section of the rust reference manual (http://doc.rust-lang.org/reference.html#use-declarations), the third code example has the following line
// use core::iter; // bad: native is not at the crate root
I think the comment should read:
// bad: core is not at the crate root
or something else. It shouldn't reference native because native isn't used anywhere in the code example.The text was updated successfully, but these errors were encountered: