Uh oh!
There was an error while loading. Please reload this page.
Add mention to RFC 940 in the Rust Reference. - #33362
Conversation
- It also keeps mentions to RFCs consistent with the format "RFC XXX"
rust-highfive
commented
May 2, 2016
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Manishearth (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
| ``` | ||
| When naming Rust crates, hyphens are disallowed. However, Cargo packages may | ||
| make use of them. In such case, when `cargo.toml` doesn't specify a crate name, |
Manishearth
commented
May 3, 2016
lgtm, one nit |
| ```{.ignore} | ||
| // Importing the Cargo package hello-world/ | ||
| extern crate hello_world; // The crate name replaced the hyphen |
There was a problem hiding this comment.
- trailing
/looks suspicious? - did you mean "The underscore replaced the hyphen"?
andradei
commented
May 3, 2016
Thanks for catching the discrepancies. I hope the changes are better phrased now. |
apasel422
commented
Jul 15, 2016
Ping @Manishearth. |
Manishearth
commented
Jul 16, 2016
@bors r+ rollup |
bors
commented
Jul 16, 2016
📌 Commit ba6ce12 has been approved by |
Add mention to RFC 940 in the Rust Reference. This PR adds a mention to hyphens in Cargo package names being replaced by underscores when used as a crate, as per [RFC 940](https://github.com/rust-lang/rfcs/blob/master/text/0940-hyphens-considered-harmful.md) It also formats the RFCs consistently as RFC XXX instead of RFCXXX.
This PR adds a mention to hyphens in Cargo package names being replaced by underscores when used as a crate, as per RFC 940
It also formats the RFCs consistently as RFC XXX instead of RFCXXX.