Commit ce53b86
committed
Fix needless_borrow clippy lint in test
error: the borrowed expression implements the required traits
--> tests/regression/issue1004.rs:6:38
|
6 | let value = serde_json::to_value(&float).unwrap();
| ^^^^^^ help: change this to: `float`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D clippy::all`1 parent 4ea38c4 commit ce53b86
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments