Skip to content

README tweaks

README tweaks #505

GitHub Actions / clippy succeeded Apr 9, 2025 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.86.0 (05f9846f8 2025-03-31)
  • cargo 1.86.0 (adf9b6ad1 2025-02-28)
  • clippy 0.1.86 (05f9846f89 2025-03-31)

Annotations

Check warning on line 382 in src/bin/cargo-flamegraph.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/bin/cargo-flamegraph.rs:382:57
    |
382 |                 if !t.kind.iter().any(|s| kind.contains(&s)) {
    |                                                         ^^ help: change this to: `s`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Check warning on line 239 in src/bin/cargo-flamegraph.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/bin/cargo-flamegraph.rs:239:92
    |
239 |                     a.target.name == *target && a.target.kind.iter().any(|k| kind.contains(&k))
    |                                                                                            ^^ help: change this to: `k`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default