Bladeren bron

Merge pull request #5396 from Soullivaneuh/patch-1

Use caret operator for unbound version constraints doc
Jordi Boggiano 8 jaren geleden
bovenliggende
commit
11e53e6f84
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md

+ 1 - 1
doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md

@@ -13,7 +13,7 @@ which you can increase in a new release after testing that your package is
 compatible with the new major version of your dependency.
 compatible with the new major version of your dependency.
 
 
 For example instead of using `>=3.4` you should use `~3.4` which allows all
 For example instead of using `>=3.4` you should use `~3.4` which allows all
-versions up to `3.999` but does not include `4.0` and above. The `~` operator
+versions up to `3.999` but does not include `4.0` and above. The `^` operator
 works very well with libraries following [semantic versioning](http://semver.org).
 works very well with libraries following [semantic versioning](http://semver.org).
 
 
 **Note:** As a package maintainer, you can make the life of your users easier
 **Note:** As a package maintainer, you can make the life of your users easier