diff options
| author | Konrad Borowski <x.fix@o2.pl> | 2016-10-30 15:24:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-30 15:24:13 +0100 |
| commit | 9cc98612d70cb2dca1d1f5782648f434645fc7d6 (patch) | |
| tree | 264af85fd4e490af21759d637103aed75afcf4eb | |
| parent | aef5ca5590a23799396aa656bd303731c9d96531 (diff) | |
| download | rust-9cc98612d70cb2dca1d1f5782648f434645fc7d6.tar.gz rust-9cc98612d70cb2dca1d1f5782648f434645fc7d6.zip | |
Don't mention "*" dependency version in guessing game example
It's a bad practice as far [RFC 1241] is concerned, and introducing it in early tutorial may as well make it feel legitimate. [RFC 1241]: https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md
| -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. |
