Clarify dependencies documentation
authorleavehouse <31998645+leavehouse@users.noreply.github.com>
Thu, 21 Sep 2017 19:05:48 +0000 (14:05 -0500)
committerGitHub <noreply@github.com>
Thu, 21 Sep 2017 19:05:48 +0000 (14:05 -0500)
The snippet:

```
... but not `2.0`. `0.0.x` is not considered ...
```
Looks very similar to `... but not 2.0.0.0.x is not considered ...`, when rendered, which is confusing.

This adds a couple words to clarify.

src/doc/book/src/reference/specifying-dependencies.md

index ba7145d12f32c4e92423e6a96f983873fdba4295..503dcd09986c3c699db5d01244c28f5a2369542c 100644 (file)
@@ -31,8 +31,8 @@ An update is allowed if the new version number does not modify the left-most
 non-zero digit in the major, minor, patch grouping. In this case, if we ran
 `cargo update -p time`, cargo would update us to version `0.1.13` if it was
 available, but would not update us to `0.2.0`. If instead we had specified the
-version string as `^1.0`, cargo would update to `1.1` but not `2.0`. `0.0.x` is
-not considered compatible with any other version.
+version string as `^1.0`, cargo would update to `1.1` but not `2.0`. The version
+`0.0.x` is not considered compatible with any other version.
 
 Here are some more examples of caret requirements and the versions that would
 be allowed with them: