pub fn is_minor(current: &str, other: &str) -> crate::Result<bool> {
  let current = Version::parse(current)?;
  let other = Version::parse(other)?;
  Ok(current.major == other.major && other.minor > current.minor)
}
/// Check if a the "other" version is a minor bump from the "current"
Check if a the "other" version is a minor bump from the "current"
Check if a the " other " version is a minor bump from the " current "
pub fn is_minor(current: &str, other: &str) -> crate::Result<bool> {
  let current = Version::parse(current)?;
  let other = Version::parse(other)?;
  Ok(current.major == other.major && other.minor > current.minor)
}
pub fn is_minor ( current : & str , other : & str ) -> crate :: Result < bool > { let current = Version :: parse ( current ) ? ; let other = Version :: parse ( other ) ? ; Ok ( current . major == other . major && other . minor > current . minor ) }
Check if a the "other" version is a minor bump from the "current"
Check if a the " other " version is a minor bump from the " current "
current
&str
other
&str
current
&str
other
&str