Skip to content

Commit b15914d

Browse files
fix mistake with the cargo add command
the cargo add command in the example is installs an older version of ferris-says, that causes the code not to compile.
1 parent e6fc0f6 commit b15914d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locales/en-US/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +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 ferris-says@0.2</code>.</p>
122+
<p>We can also do this by running <code>cargo add ferris-says</code>.</p>
123123
<p>Now we can run:</p>
124124
<p><code>cargo build</code></p>
125125
<p>...and Cargo will install our dependency for us.</p>

0 commit comments

Comments
 (0)