Skip to content

Commit

Permalink
Use a + for the visual max local
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Nov 5, 2024
1 parent 3e61e35 commit b0ec5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/uv-pep440/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ impl std::fmt::Display for Version {
LocalVersionSlice::Segments(_) => {
format!("+{}", self.local())
}
LocalVersionSlice::Max => String::new(),
LocalVersionSlice::Max => "+".to_string(),
}
};
write!(f, "{epoch}{release}{pre}{post}{dev}{local}")
Expand Down

0 comments on commit b0ec5cc

Please sign in to comment.