Skip to content

chore(deps): update actions/checkout digest to b4ffde6 #22

chore(deps): update actions/checkout digest to b4ffde6

chore(deps): update actions/checkout digest to b4ffde6 #22

GitHub Actions / Clippy Output failed Oct 19, 2023 in 0s

Clippy Output

2 errors

Details

Results

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

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

call to `.clone()` on a reference in this situation does nothing

error: call to `.clone()` on a reference in this situation does nothing
   --> src/scheduler.rs:205:40
    |
205 |                     self.0 = Some((name.clone().to_owned(), date));
    |                                        ^^^^^^^^ help: remove this redundant call
    |
    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
    = note: `-D noop-method-call` implied by `-D warnings`

Check failure on line 205 in src/scheduler.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

call to `.clone()` on a reference in this situation does nothing

error: call to `.clone()` on a reference in this situation does nothing
   --> src/scheduler.rs:205:40
    |
205 |                     self.0 = Some((name.clone().to_owned(), date));
    |                                        ^^^^^^^^ help: remove this redundant call
    |
    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
    = note: `-D noop-method-call` implied by `-D warnings`