]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/guessing-game.md
New upstream version 1.12.0+dfsg1
[rustc.git] / src / doc / book / guessing-game.md
index c759ff9bdbde48e845a64dfbc158f198bd8178ff..22cf6068e4d5a20f79fa61075ed31fa23e10b5b8 100644 (file)
@@ -365,12 +365,12 @@ numbers. A bare number like above is actually shorthand for `^0.3.0`,
 meaning "anything compatible with 0.3.0".
 If we wanted to use only `0.3.0` exactly, we could say `rand="=0.3.0"`
 (note the two equal signs).
-And if we wanted to use the latest version we could use `*`.
+And if we wanted to use the latest version we could use `rand="*"`.
 We could also use a range of versions.
 [Cargo’s documentation][cargodoc] contains more details.
 
 [semver]: http://semver.org
-[cargodoc]: http://doc.crates.io/crates-io.html
+[cargodoc]: http://doc.crates.io/specifying-dependencies.html
 
 Now, without changing any of our code, let’s build our project: