Skip to content

Commit

Permalink
[src/doc/book] Use package registry for crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
behnam committed Aug 31, 2017
1 parent 3fac7b2 commit bd5ecd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/doc/book/src/02-04-dependencies.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Adding dependencies from crates.io
## Dependencies

[crates.io] is the Rust community's central repository that serves
as a location to discover and download packages. `cargo` is configured to use
it by default to find requested packages.
[crates.io] is the Rust community's central package registry that serves as a
location to discover and download packages. `cargo` is configured to use it by
default to find requested packages.

To depend on a library hosted on [crates.io], add it to your `Cargo.toml`.

Expand Down
6 changes: 3 additions & 3 deletions src/doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ project.

# Adding dependencies from crates.io

[crates.io] is the Rust community's central repository that serves
as a location to discover and download packages. `cargo` is configured to use
it by default to find requested packages.
[crates.io] is the Rust community's central package registry that serves as a
location to discover and download packages. `cargo` is configured to use it by
default to find requested packages.

To depend on a library hosted on [crates.io], add it to your `Cargo.toml`.

Expand Down

0 comments on commit bd5ecd4

Please sign in to comment.