CI #818
ci.yaml
on: schedule
Build & Test Project
23s
Spell Check with Typos
5s
Annotations
2 warnings
|
Build & Test Project:
blsforme/src/manager.rs#L74
[clippy] reported by reviewdog 🐶
warning: this creates an owned instance just for comparison
--> blsforme/src/manager.rs:74:34
|
74 | if target == PathBuf::from("/dev/null") {
| ----------^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: try: `target == "/dev/null"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#cmp_owned
= note: `#[warn(clippy::cmp_owned)]` on by default
Raw Output:
blsforme/src/manager.rs:74:34:w:warning: this creates an owned instance just for comparison
--> blsforme/src/manager.rs:74:34
|
74 | if target == PathBuf::from("/dev/null") {
| ----------^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: try: `target == "/dev/null"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#cmp_owned
= note: `#[warn(clippy::cmp_owned)]` on by default
__END__
|
|
Build & Test Project:
crates/topology/src/disk/probe.rs#L61
[clippy] reported by reviewdog 🐶
warning: this creates an owned instance just for comparison
--> crates/topology/src/disk/probe.rs:61:27
|
61 | .find(|m| PathBuf::from(m.mountpoint) == mountpoint)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------
| |
| help: try: `mountpoint == m.mountpoint`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#cmp_owned
= note: `#[warn(clippy::cmp_owned)]` on by default
Raw Output:
crates/topology/src/disk/probe.rs:61:27:w:warning: this creates an owned instance just for comparison
--> crates/topology/src/disk/probe.rs:61:27
|
61 | .find(|m| PathBuf::from(m.mountpoint) == mountpoint)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------
| |
| help: try: `mountpoint == m.mountpoint`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#cmp_owned
= note: `#[warn(clippy::cmp_owned)]` on by default
__END__
|