Skip to content

Fixes the new deny-by-default incorrect_partial_ord_impl_on_ord_type Clippy lint #3177

Fixes the new deny-by-default incorrect_partial_ord_impl_on_ord_type Clippy lint

Fixes the new deny-by-default incorrect_partial_ord_impl_on_ord_type Clippy lint #3177

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Jul 20, 2023 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.71.0 (8ede3aae2 2023-07-12)
  • cargo 1.71.0 (cfd3bbd8f 2023-06-08)
  • clippy 0.1.71 (8ede3aa 2023-07-12)

Annotations

Check warning on line 93 in src/store/compressors.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated items `deser_from_str` and `ser_to_string` are never used

warning: associated items `deser_from_str` and `ser_to_string` are never used
   --> src/store/compressors.rs:93:8
    |
92  | impl ZstdCompressor {
    | ------------------- associated items in this implementation
93  |     fn deser_from_str(val: &str) -> Result<ZstdCompressor, String> {
    |        ^^^^^^^^^^^^^^
...
129 |     fn ser_to_string(&self) -> String {
    |        ^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default