Skip to main content

diff_str

Function diff_str 

Source
pub fn diff_str(a: &str, b: &str) -> Result<Option<Difference>, Error>
Expand description

Parse a and b as semver::Versions and return their diff.

ยงErrors

Returns the semver::Error from the first input that fails to parse.