diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-11-01 16:15:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-01 16:15:52 +0100 |
| commit | d2f5d26a7191246cf156aac04e4c688a1f210adb (patch) | |
| tree | 45d0f1ee4efdded13de74ee96596575db646b4c2 /src/doc | |
| parent | d5a2510574c9eb9ab1738a1ef138db4b4840a71c (diff) | |
| parent | 9cc98612d70cb2dca1d1f5782648f434645fc7d6 (diff) | |
Rollup merge of #37485 - xfix:patch-2, r=steveklabnik
Don't mention "*" dependency version in guessing game example It's a bad practice as far [RFC 1241](https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md) is concerned, and introducing it in early tutorial may as well make it feel legitimate.
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/book/guessing-game.md | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/doc/book/guessing-game.md b/src/doc/book/guessing-game.md index 4e0e3728689..a3ab4803bc4 100644 --- a/src/doc/book/guessing-game.md +++ b/src/doc/book/guessing-game.md @@ -362,7 +362,6 @@ 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 `rand="*"`. We could also use a range of versions. [Cargo’s documentation][cargodoc] contains more details. |
