MCPcopy Create free account
hub / github.com/Lintermute/lazy_errors / custom

Function custom

xtask/src/version.rs:207–209  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

205 }
206
207 fn custom(s: &str) -> VersionNumber {
208 VersionNumber::CustomVersion(CustomVersion(s.to_owned()))
209 }
210
211 #[test_case("1.2.3", &[], Ok(v(1, 2, 3)))]
212 #[test_case("1.2.3", &[Pattern::MajorMinorPatch], Ok(v(1, 2, 3)))]

Callers

nothing calls this directly

Calls 1

CustomVersionClass · 0.85

Tested by

no test coverage detected