mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Rust 1.89 clippy fix (#6082)
This commit is contained in:
1 parent
133aada0b7
commit
158c027c23
3 files changed
-3
No files matched your search
@@ -204,7 +204,6 @@ pub trait CompressFlushKind: Copy {
|
||||
}
|
||||
|
||||
pub trait CompressStatusKind: Copy {
|
||||
const OK: Self;
|
||||
const EOF: Self;
|
||||
|
||||
fn to_usize(self) -> usize;
|
||||
|
||||
@@ -214,7 +214,6 @@ mod _lzma {
|
||||
}
|
||||
|
||||
impl CompressStatusKind for Status {
|
||||
const OK: Self = Status::Ok;
|
||||
const EOF: Self = Status::StreamEnd;
|
||||
|
||||
fn to_usize(self) -> usize {
|
||||
|
||||
@@ -422,7 +422,6 @@ mod zlib {
|
||||
}
|
||||
|
||||
impl CompressStatusKind for Status {
|
||||
const OK: Self = Self::Ok;
|
||||
const EOF: Self = Self::StreamEnd;
|
||||
|
||||
fn to_usize(self) -> usize {
|
||||
|
||||
Reference in new issue
Block a user