Skip to content

add: website

add: website #56

GitHub Actions / Clippy: Rust Stable 1.82.0 (f6e511eec 2024-10-15) in succeeded Nov 15, 2024 in 1m 4s

Clippy (Stable ~ Linux/x86_64)

Clippy was successful!

Details

Running cargo clippy took roughly ~63845ms to complete

  • Working Directory: repository directory

Annotations

Check warning on line 185 in /home/runner/work/tweaks/tweaks/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.82.0 (f6e511eec 2024-10-15) in

/home/runner/work/tweaks/tweaks/src/main.rs#L185

useless conversion to the same type: `&str`
Raw output
warning: useless conversion to the same type: `&str`
   --> src/app.rs:185:27
    |
185 |             .developers([("Eduardo Flores".into(), "[email protected]".into())]);
    |                           ^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `"Eduardo Flores"`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
    = note: `#[warn(clippy::useless_conversion)]` on by default

Check warning on line 185 in /home/runner/work/tweaks/tweaks/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.82.0 (f6e511eec 2024-10-15) in

/home/runner/work/tweaks/tweaks/src/main.rs#L185

useless conversion to the same type: `&str`
Raw output
warning: useless conversion to the same type: `&str`
   --> src/app.rs:185:52
    |
185 |             .developers([("Eduardo Flores".into(), "[email protected]".into())]);
    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `"[email protected]"`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion

Check warning on line 69 in /home/runner/work/tweaks/tweaks/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.82.0 (f6e511eec 2024-10-15) in

/home/runner/work/tweaks/tweaks/src/main.rs#L69

writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
Raw output
warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
  --> src/pages/snapshots/config.rs:69:34
   |
69 |     pub fn new(name: &str, path: &PathBuf, kind: SnapshotKind) -> Self {
   |                                  ^^^^^^^^ help: change this to: `&Path`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
   = note: `#[warn(clippy::ptr_arg)]` on by default

Check warning on line 71 in /home/runner/work/tweaks/tweaks/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.82.0 (f6e511eec 2024-10-15) in

/home/runner/work/tweaks/tweaks/src/main.rs#L71

the borrowed expression implements the required traits
Raw output
warning: the borrowed expression implements the required traits
  --> src/pages/snapshots/config.rs:71:30
   |
71 |         let path = path.join(&name).with_extension("ron");
   |                              ^^^^^ help: change this to: `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