Skip to content

Commit 158c027

Browse files
authored
Rust 1.89 clippy fix (#6082)
1 parent 133aada commit 158c027

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

stdlib/src/compression.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ pub trait CompressFlushKind: Copy {
204204
}
205205

206206
pub trait CompressStatusKind: Copy {
207-
const OK: Self;
208207
const EOF: Self;
209208

210209
fn to_usize(self) -> usize;

stdlib/src/lzma.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ mod _lzma {
214214
}
215215

216216
impl CompressStatusKind for Status {
217-
const OK: Self = Status::Ok;
218217
const EOF: Self = Status::StreamEnd;
219218

220219
fn to_usize(self) -> usize {

stdlib/src/zlib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ mod zlib {
422422
}
423423

424424
impl CompressStatusKind for Status {
425-
const OK: Self = Self::Ok;
426425
const EOF: Self = Self::StreamEnd;
427426

428427
fn to_usize(self) -> usize {

0 commit comments

Comments
 (0)