```
warning: the borrowed expression implements the required traits
--> tests/std.rs:311:29
|
311 | cmd.env("PATH", &p);
| ^^ help: change this to: `p`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
```
```
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
--> tests/std.rs:26:5
|
26 | / match Command::new("if-this-is-a-binary-then-the-world-has-ended").spawn() {
27 | | Ok(..) => panic!(),
28 | | Err(..) => {}
29 | | }
| |_____^ help: try this: `if let Ok(..) = Command::new("if-this-is-a-binary-then-the-world-has-ended").spawn() { panic!() }`
|
= note: `#[warn(clippy::single_match)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
```