diff --git a/stdlib/src/compression.rs b/stdlib/src/compression.rs index 9fa7e3e02d..7f4e3432ea 100644 --- a/stdlib/src/compression.rs +++ b/stdlib/src/compression.rs @@ -204,7 +204,6 @@ pub trait CompressFlushKind: Copy { } pub trait CompressStatusKind: Copy { - const OK: Self; const EOF: Self; fn to_usize(self) -> usize; diff --git a/stdlib/src/lzma.rs b/stdlib/src/lzma.rs index c2dd912577..885af30bc6 100644 --- a/stdlib/src/lzma.rs +++ b/stdlib/src/lzma.rs @@ -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 { diff --git a/stdlib/src/zlib.rs b/stdlib/src/zlib.rs index cf5669145b..6034b4a2c5 100644 --- a/stdlib/src/zlib.rs +++ b/stdlib/src/zlib.rs @@ -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 {