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
```
warning: dereferencing a tuple pattern where every element takes a reference
--> crossbeam-skiplist/src/base.rs:1721:30
|
1721 | (Some(ref next), &Some(ref t)) if next.key() >= t.key() => {
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
= note: `#[warn(clippy::needless_borrowed_reference)]` on by default
help: try removing the `&` and `ref` parts
|
1721 - (Some(ref next), &Some(ref t)) if next.key() >= t.key() => {
1721 + (Some(ref next), Some(t)) if next.key() >= t.key() => {
|
warning: dereferencing a tuple pattern where every element takes a reference
--> crossbeam-skiplist/src/base.rs:1748:14
|
1748 | (&Some(ref h), Some(next)) if h.key() >= next.key() => {
| ^^^^^^^^^^^^
|
= 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
|
1748 - (&Some(ref h), Some(next)) if h.key() >= next.key() => {
1748 + (Some(h), Some(next)) if h.key() >= next.key() => {
|
```
0 commit comments