mirror of https://github.com/astral-sh/uv
clippy
This commit is contained in:
parent
70219fcd9f
commit
81e2c10278
|
|
@ -512,7 +512,7 @@ impl Display for VersionSpecifiersOrExact {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
Self::VersionSpecifiers(specifiers) => Display::fmt(specifiers, f),
|
Self::VersionSpecifiers(specifiers) => Display::fmt(specifiers, f),
|
||||||
Self::Exact(version) => write!(f, "=={}", version),
|
Self::Exact(version) => write!(f, "=={version}"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue