You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: dereferencing a tuple pattern where every element takes a reference
--> src/value/de.rs:997:18
|
997 | Some(&Value::Array(ref v)) => {
| ^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
= note: `-D clippy::needless-borrowed-reference` implied by `-D clippy::all`
help: try removing the `&` and `ref` parts
|
997 - Some(&Value::Array(ref v)) => {
997 + Some(Value::Array(v)) => {
|
error: dereferencing a tuple pattern where every element takes a reference
--> src/value/de.rs:1024:18
|
1024 | Some(&Value::Object(ref v)) => visit_object_ref(v, visitor),
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
help: try removing the `&` and `ref` parts
|
1024 - Some(&Value::Object(ref v)) => visit_object_ref(v, visitor),
1024 + Some(Value::Object(v)) => visit_object_ref(v, visitor),
|
0 commit comments