Skip to content

Commit 10a3a86

Browse files
authored
Merge pull request #1393 from falc0nsec/master
Drop extern crate
2 parents 236c734 + de57954 commit 10a3a86

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cargo/deps.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ lots of great packages on [crates.io](https://crates.io) (the official Rust
5656
package registry). One popular choice is [clap](https://crates.io/crates/clap).
5757
As of this writing, the most recent published version of `clap` is `2.27.1`. To
5858
add a dependency to our program, we can simply add the following to our
59-
`Cargo.toml` under `[dependencies]`: `clap = "2.27.1"`. And of course, `extern
60-
crate clap` in `main.rs`, just like normal. And that's it! You can start using
59+
`Cargo.toml` under `[dependencies]`: `clap = "2.27.1"`. And that's it! You can start using
6160
`clap` in your program.
6261

6362
`cargo` also supports [other types of dependencies][dependencies]. Here is just

0 commit comments

Comments
 (0)