Skip to content

Commit 8fa3e48

Browse files
authored
Merge pull request #1725 from adamralph/patch-1
mention cargo add in getting started
2 parents df72aae + 939aaf9 commit 8fa3e48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

locales/en-US/learn.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ learn-dependencies-steps = <p>Let’s add a dependency to our application. You c
119119
<p>In this project, we’ll use a crate called <a href="https://crates.io/crates/ferris-says"><code>ferris-says</code></a>.
120120
<p>In our <code>Cargo.toml</code> file we’ll add this information (that we got from the crate page):</p>
121121
{ $cargotoml }
122+
<p>We can also do this by running <code>cargo add [email protected]</code>.</p>
122123
<p>Now we can run:</p>
123124
<p><code>cargo build</code></p>
124125
<p>...and Cargo will install our dependency for us.</p>

0 commit comments

Comments
 (0)