We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a12c20d commit 906b799Copy full SHA for 906b799
1 file changed
crates/stdlib/src/lzma.rs
@@ -201,7 +201,7 @@ mod _lzma {
201
202
impl DecompressStatus for Status {
203
fn is_stream_end(&self) -> bool {
204
- *self == Status::StreamEnd
+ *self == Self::StreamEnd
205
}
206
207
@@ -671,16 +671,16 @@ mod _lzma {
671
672
673
impl CompressStatusKind for Status {
674
- const EOF: Self = Status::StreamEnd;
+ const EOF: Self = Self::StreamEnd;
675
676
fn to_usize(self) -> usize {
677
self as usize
678
679
680
681
impl CompressFlushKind for Action {
682
- const NONE: Self = Action::Run;
683
- const FINISH: Self = Action::Finish;
+ const NONE: Self = Self::Run;
+ const FINISH: Self = Self::Finish;
684
685
686
0 commit comments