Skip to content

docs(readme): Fix broken links (#146) #45

docs(readme): Fix broken links (#146)

docs(readme): Fix broken links (#146) #45

GitHub Actions / clippy failed Aug 26, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
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 failure on line 106 in src/status/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

error: the borrowed expression implements the required traits
   --> src/status/mod.rs:106:45
    |
106 |         if let Ok(part) = path.strip_prefix(&sourcedir) {
    |                                             ^^^^^^^^^^ help: change this to: `sourcedir`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args

Check failure on line 17 in src/setup/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

error: the borrowed expression implements the required traits
  --> src/setup/mod.rs:17:33
   |
17 |     let metadata = fs::metadata(&path)?;
   |                                 ^^^^^ help: change this to: `path`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
   = note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`