Skip to content

change debug_assert to assert in term length

Sign in for the full log view
GitHub Actions / clippy succeeded Apr 4, 2024 in 0s

clippy

4 warnings

Details

Results

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

Versions

  • rustc 1.77.1 (7cf61ebde 2024-03-27)
  • cargo 1.77.1 (e52e36006 2024-03-26)
  • clippy 0.1.77 (7cf61eb 2024-03-27)

Annotations

Check warning on line 35 in src/directory/watch_event_router.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

warning: field `0` is never read
  --> src/directory/watch_event_router.rs:35:24
   |
35 | pub struct WatchHandle(Arc<WatchCallback>);
   |            ----------- ^^^^^^^^^^^^^^^^^^
   |            |
   |            field in this struct
   |
   = note: `WatchHandle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
35 | pub struct WatchHandle(());
   |                        ~~

Check warning on line 43 in src/directory/directory.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

warning: field `0` is never read
  --> src/directory/directory.rs:43:26
   |
43 | pub struct DirectoryLock(Box<dyn Send + Sync + 'static>);
   |            ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |            |
   |            field in this struct
   |
   = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
43 | pub struct DirectoryLock(());
   |                          ~~

Check warning on line 105 in columnar/src/column_values/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `.into_iter()` call is equivalent to `.iter_mut()` and will not consume the `slice`

warning: this `.into_iter()` call is equivalent to `.iter_mut()` and will not consume the `slice`
   --> columnar/src/column_values/mod.rs:105:14
    |
105 |             .into_iter()
    |              ^^^^^^^^^ help: call directly: `iter_mut`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref

Check warning on line 78 in columnar/src/column_values/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `.into_iter()` call is equivalent to `.iter_mut()` and will not consume the `slice`

warning: this `.into_iter()` call is equivalent to `.iter_mut()` and will not consume the `slice`
  --> columnar/src/column_values/mod.rs:78:14
   |
78 |             .into_iter()
   |              ^^^^^^^^^ help: call directly: `iter_mut`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
   = note: `#[warn(clippy::into_iter_on_ref)]` on by default