Skip to content

Commit

Permalink
resolve lint
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Jun 1, 2024
1 parent 377008e commit 3ab7c35
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions zk_toolbox/crates/types/src/protocol_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ impl ProtocolSemanticVersion {

impl fmt::Display for ProtocolSemanticVersion {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(
f,
"{}.{}.{}",
Self::MAJOR_VERSION,
self.minor as u16,
self.patch
)
write!(f, "{}.{}.{}", Self::MAJOR_VERSION, self.minor, self.patch)
}
}

Expand Down

0 comments on commit 3ab7c35

Please sign in to comment.