From e95c5a82c5a9ec63fe14a2183d8cc6ab125d2840 Mon Sep 17 00:00:00 2001 From: Kirpal Grewal Date: Fri, 15 Nov 2024 15:12:35 +0000 Subject: [PATCH] dependencies typo --- src/doc/src/guide/dependencies.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/src/guide/dependencies.md b/src/doc/src/guide/dependencies.md index cbb3ba115d0..150b5f31d4f 100644 --- a/src/doc/src/guide/dependencies.md +++ b/src/doc/src/guide/dependencies.md @@ -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] @@ -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`.