Skip to content

Bump dependencies

Bump dependencies #123

GitHub Actions / clippy succeeded Oct 28, 2023 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.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 120 in html-query-extractor/src/lib.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
   --> html-query-extractor/src/lib.rs:120:65
    |
120 |         .map(|(key, value)| (key.to_string(), convert_to_output(&value, &vec![root])))
    |                                                                 ^^^^^^ help: change this to: `value`
    |
    = 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

Check warning on line 119 in html-query-extractor/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `.into_iter()` call is equivalent to `.iter()` and will not consume the `HashMap`

warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `HashMap`
   --> html-query-extractor/src/lib.rs:119:10
    |
119 |         .into_iter()
    |          ^^^^^^^^^ help: call directly: `iter`
    |
    = 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