Skip to content

Commit

Permalink
simplify - 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Aug 22, 2024
1 parent b98bc04 commit ee9cd20
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/types/version_number.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ impl VersionNumber {

/// Check if this version number has major version difference than the other
pub fn is_major_update(&self, other: &VersionNumber) -> bool {
if self.major != other.major {
return true;
}
false
self.major != other.major
}
}

0 comments on commit ee9cd20

Please sign in to comment.