From 158c027c239b4a79f224f7ca51db7e57db241e71 Mon Sep 17 00:00:00 2001 From: "Jeong, YunWon" <69878+youknowone@users.noreply.github.com> Date: Fri, 8 Aug 2025 15:00:18 +0900 Subject: [PATCH] Rust 1.89 clippy fix (#6082) --- stdlib/src/compression.rs | 1 - stdlib/src/lzma.rs | 1 - stdlib/src/zlib.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/stdlib/src/compression.rs b/stdlib/src/compression.rs index 9fa7e3e02..7f4e3432e 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 c2dd91257..885af30bc 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 cf5669145..6034b4a2c 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 {