mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-31 15:57:26 +00:00
Fix clippy warnings in downloads.rs (#15255)
## Summary Fixes clippy warnings on main. ## Test Plan `cargo clippy`
This commit is contained in:
parent
c8d0bfba5c
commit
88a7b2d864
1 changed files with 7 additions and 7 deletions
|
@ -552,13 +552,13 @@ impl FromStr for PythonDownloadRequest {
|
|||
impl Position {
|
||||
pub(crate) fn next(&self) -> Self {
|
||||
match self {
|
||||
Position::Start => Position::Implementation,
|
||||
Position::Implementation => Position::Version,
|
||||
Position::Version => Position::Os,
|
||||
Position::Os => Position::Arch,
|
||||
Position::Arch => Position::Libc,
|
||||
Position::Libc => Position::End,
|
||||
Position::End => Position::End,
|
||||
Self::Start => Self::Implementation,
|
||||
Self::Implementation => Self::Version,
|
||||
Self::Version => Self::Os,
|
||||
Self::Os => Self::Arch,
|
||||
Self::Arch => Self::Libc,
|
||||
Self::Libc => Self::End,
|
||||
Self::End => Self::End,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue