Skip to main content

is_strictly_newer

Function is_strictly_newer 

Source
fn is_strictly_newer(lhs: &str, rhs: &str) -> bool
Expand description

true when lhs parses as a strictly-greater semver triple than rhs. A parse failure on either side collapses to false so the update banner only fires when the comparison is unambiguous.