Skip to content

code: Add docs and deprecation notices #594

code: Add docs and deprecation notices

code: Add docs and deprecation notices #594

GitHub Actions / clippy results succeeded Jul 15, 2024 in 1s

clippy results

1 warning

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 999 in cli/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy results

the borrowed expression implements the required traits

warning: the borrowed expression implements the required traits
   --> cli/src/main.rs:999:59
    |
999 |     let file_path = std::path::Path::new(target_dir).join(&req.file_name());
    |                                                           ^^^^^^^^^^^^^^^^ help: change this to: `req.file_name()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
    = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default