From 9cc98612d70cb2dca1d1f5782648f434645fc7d6 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Sun, 30 Oct 2016 15:24:13 +0100 Subject: [PATCH] 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 --- src/doc/book/guessing-game.md | 1 - 1 file changed, 1 deletion(-) 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.