mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Use a + for the visual max local (#8844)
We don't actually want users to see this, but we should be stripping it anyway. Without this change, we show ranges in the debug logs that look like `>=1.0.0, <1.0.0`, which is more confusing than helpful. (We may want to post-process those debug ranges to remove these.)
This commit is contained in:
parent
70f8377928
commit
a80b6f51b0
1 changed files with 1 additions and 1 deletions
|
@ -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}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue