Skip to content

Compression

Compression #267

GitHub Actions / clippy failed Feb 13, 2024 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check failure on line 159 in chitchat/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

error[E0308]: mismatched types
   --> chitchat/src/lib.rs:159:13
    |
159 |         for (chitchat_id, node_delta) in &delta.node_deltas {
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^    ------------------ this is an iterator with items of type `&delta::NodeDelta`
    |             |
    |             expected `NodeDelta`, found `(_, _)`
    |
    = note: expected struct `delta::NodeDelta`
                found tuple `(_, _)`

Check failure on line 6 in chitchat/src/serialize.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this import is redundant

error: this import is redundant
 --> chitchat/src/serialize.rs:6:1
  |
6 | use zstd;
  | ^^^^^^^^^ help: remove it entirely
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
  = note: `-D clippy::single-component-path-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(clippy::single_component_path_imports)]`