Skip to content

Commit e95c5a8

Browse files
committed
dependencies typo
1 parent de2b812 commit e95c5a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/src/guide/dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To depend on a library hosted on [crates.io], add it to your `Cargo.toml`.
1313

1414
If your `Cargo.toml` doesn't already have a `[dependencies]` section, add
1515
that, then list the [crate][def-crate] name and version that you would like to
16-
use. This example adds a dependency of the `time` crate:
16+
use. This example adds a dependency on the `time` crate:
1717

1818
```toml
1919
[dependencies]
@@ -67,7 +67,7 @@ Our `Cargo.lock` contains the exact information about which revision of all of
6767
these dependencies we used.
6868

6969
Now, if `regex` gets updated, we will still build with the same revision until
70-
we choose to `cargo update`.
70+
we choose to run `cargo update`.
7171

7272
You can now use the `regex` library in `main.rs`.
7373

0 commit comments

Comments
 (0)