Rust crate naming tip: use hyphens not underscores. Hyphens are idiomatic and Cargo does the conversion to underscore in your Rust code automatically.
As a crate user I have to remember to add `bit-vec` to Cargo.toml, but `extern crate bit_vec` in the file. That they aren't the same is not exactly intuitive.
`cargo add bit_vec` works though, which makes it easier. A better error message for `extern crate bit-vec` would be
.
-
-
Raised https://github.com/rust-lang/rust/issues/48437 … for better error messages with `extern crate hyphen-mistake`.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.