Skip to content

Merge pull request #15 from entropic-security/v0.11.1

Sign in for the full log view
GitHub Actions / clippy succeeded Nov 30, 2024 in 1s

clippy

5 warnings

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check warning on line 115 in src/fess.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mutable key type

warning: mutable key type
   --> src/fess.rs:115:21
    |
115 |         gadget_set: &HashSet<gadget::Gadget>,
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type

Check warning on line 76 in src/fess.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mutable key type

warning: mutable key type
  --> src/fess.rs:76:42
   |
76 |     pub(crate) fn get_totals(gadget_set: &HashSet<gadget::Gadget>) -> GadgetTotals {
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type

Check warning on line 302 in src/search.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mutable key type

warning: mutable key type
   --> src/search.rs:302:6
    |
302 | ) -> HashSet<gadget::Gadget> {
    |      ^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type

Check warning on line 75 in src/search.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mutable key type

warning: mutable key type
  --> src/search.rs:75:13
   |
75 |             let mut common_gadgets = first_set.clone();
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type
   = note: `#[warn(clippy::mutable_key_type)]` on by default

Check warning on line 155 in src/gadget/analysis.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
   --> src/gadget/analysis.rs:155:9
    |
155 |     /// e.g. will report `eax`-overwrite for `rax`.
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
    = note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
    |
155 |     ///   e.g. will report `eax`-overwrite for `rax`.
    |         ++