We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efd29db commit d3c7f13Copy full SHA for d3c7f13
src/doc/src/guide/dependencies.md
@@ -35,6 +35,7 @@ crates:
35
name = "hello_world"
36
version = "0.1.0"
37
authors = ["Your Name <you@example.com>"]
38
+edition = "2018"
39
40
[dependencies]
41
time = "0.1.12"
@@ -68,11 +69,9 @@ these dependencies we used.
68
69
Now, if `regex` gets updated, we will still build with the same revision until
70
we choose to `cargo update`.
71
-You can now use the `regex` library using `extern crate` in `main.rs`.
72
+You can now use the `regex` library in `main.rs`.
73
74
```rust
-extern crate regex;
75
-
76
use regex::Regex;
77
78
fn main() {
0 commit comments