Fix clippy warnings in downloads.rs (#15255)

## Summary

Fixes clippy warnings on main.

## Test Plan

`cargo clippy`
This commit is contained in:
Ahmed Ilyas 2025-08-13 19:21:03 +02:00 committed by GitHub
parent c8d0bfba5c
commit 88a7b2d864
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
}
}
}