Skip to content

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

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

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

GitHub Actions / clippy succeeded Aug 17, 2024 in 0s

clippy

5 warnings

Details

Results

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

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

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 missing indentation

warning: doc list item missing 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`.
    |         ++