Skip to content

Commit bd5ecd4

Browse files
committed
[src/doc/book] Use package registry for crates.io
1 parent 3fac7b2 commit bd5ecd4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/doc/book/src/02-04-dependencies.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## Adding dependencies from crates.io
1+
## Dependencies
22

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

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

src/doc/guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ project.
131131

132132
# Adding dependencies from crates.io
133133

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

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

0 commit comments

Comments
 (0)