Correct and reword a paragraph
authorPavel Potocek <pavelpotocek@gmail.com>
Thu, 24 Aug 2017 08:52:12 +0000 (10:52 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2017 08:52:12 +0000 (10:52 +0200)
The previous formulation was incorrect in the descriptions of the `x` and `y` version numbers.

src/doc/specifying-dependencies.md

index f68f804ec2f7c04c65a32734db8ed6ade03b9bd9..3ab0d57165defb79d9556f8acb99db5e695418e2 100644 (file)
@@ -47,10 +47,10 @@ be allowed with them:
 ^0 := >=0.0.0 <1.0.0
 ```
 
-While SemVer says that there is no compatibility before 1.0.0, many programmers
-treat a `0.x.y` release in the same way as a `1.x.y` release: that is, `y` is
-incremented for bugfixes, and `x` is incremented for new features. As such,
-Cargo considers a `0.x.y` and `0.x.z` version, where `z > y`, to be compatible.
+This compatibility convention is different from SemVer in the way it treats the 
+versions before 1.0.0. While SemVer says there is no compatibility before 
+1.0.0, Cargo considers any `0.x.y` and `0.x.z` versions, where `z ≥ y`, to be 
+compatible.
 
 ## Tilde requirements