semver: fix doc comment examples

This commit is contained in:
Delyan Angelov 2025-08-13 18:16:47 +03:00
parent 044c52b625
commit e88ac77a01
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
2 changed files with 1 additions and 6 deletions

View file

@ -60,7 +60,7 @@ pub fn (ver Version) increment(typ Increment) Version {
}
// satisfies returns `true` if the `input` expression can be validated to `true` when run against this `Version`.
// Example: assert semver.build(1,0,0).satisfies('<=2.0.0') == true
// Example: assert semver.build(1,0,0).satisfies('<=2.0.0')
// Example: assert semver.build(1,0,0).satisfies('>=2.0.0') == false
pub fn (ver Version) satisfies(input string) bool {
return version_satisfies(ver, input)

View file

@ -1,5 +0,0 @@
Module {
name: 'semver'
version: '0.4.11'
deps: []
}