Resolve needless_borrow clippy lint
Before adoption: this commit came in with the history the project adopted, so no landing records it.
error: this expression creates a reference which is immediately dereferenced by the compiler --> serde/src/de/impls.rs:2015:58 | 2015 | ... Err(Error::unknown_field(&value, FIELDS)) | ^^^^^^ help: change this to: `value` | = note: `-D clippy::needless-borrow` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow error: this expression creates a reference which is immediately dereferenced by the compiler --> serde/src/de/impls.rs:2355:54 | 2355 | ... Err(Error::unknown_field(&value, FIELDS)) | ^^^^^^ help: change this to: `value` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+2 added−2 removed
- other:+2 added−2 removed