Skip to content

Commit

Permalink
dependencies typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KGrewal1 committed Nov 15, 2024
1 parent de2b812 commit e95c5a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/src/guide/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To depend on a library hosted on [crates.io], add it to your `Cargo.toml`.

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

```toml
[dependencies]
Expand Down Expand Up @@ -67,7 +67,7 @@ Our `Cargo.lock` contains the exact information about which revision of all of
these dependencies we used.

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

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

Expand Down

0 comments on commit e95c5a8

Please sign in to comment.