chore: Prepare for release #1
clippy
6 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 6 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
Check failure on line 386 in src/lib.rs
github-actions / clippy
dereferencing a tuple pattern where every element takes a reference
error: dereferencing a tuple pattern where every element takes a reference
--> src/lib.rs:386:39
|
386 | ... .map(|&(ref k, ref v)| {
| ^^^^^^^^^^^^^^^
|
= 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
|
386 - .map(|&(ref k, ref v)| {
386 + .map(|(k, v)| {
|
Check failure on line 386 in src/lib.rs
github-actions / clippy
dereferencing a tuple pattern where every element takes a reference
error: dereferencing a tuple pattern where every element takes a reference
--> src/lib.rs:386:39
|
386 | ... .map(|&(ref k, ref v)| {
| ^^^^^^^^^^^^^^^
|
= 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
|
386 - .map(|&(ref k, ref v)| {
386 + .map(|(k, v)| {
|
Check failure on line 373 in src/lib.rs
github-actions / clippy
dereferencing a tuple pattern where every element takes a reference
error: dereferencing a tuple pattern where every element takes a reference
--> src/lib.rs:373:39
|
373 | ... .map(|&(ref k, ref v)| {
| ^^^^^^^^^^^^^^^
|
= 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
|
373 - .map(|&(ref k, ref v)| {
373 + .map(|(k, v)| {
|
Check failure on line 373 in src/lib.rs
github-actions / clippy
dereferencing a tuple pattern where every element takes a reference
error: dereferencing a tuple pattern where every element takes a reference
--> src/lib.rs:373:39
|
373 | ... .map(|&(ref k, ref v)| {
| ^^^^^^^^^^^^^^^
|
= 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
|
373 - .map(|&(ref k, ref v)| {
373 + .map(|(k, v)| {
|
Check failure on line 363 in src/lib.rs
github-actions / clippy
dereferencing a tuple pattern where every element takes a reference
error: dereferencing a tuple pattern where every element takes a reference
--> src/lib.rs:363:35
|
363 | ... .map(|&(ref k, 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 warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrowed_reference)]`
help: try removing the `&` and `ref` parts
|
363 - .map(|&(ref k, ref v)| {
363 + .map(|(k, v)| {
|
Check failure on line 363 in src/lib.rs
github-actions / clippy
dereferencing a tuple pattern where every element takes a reference
error: dereferencing a tuple pattern where every element takes a reference
--> src/lib.rs:363:35
|
363 | ... .map(|&(ref k, 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 warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrowed_reference)]`
help: try removing the `&` and `ref` parts
|
363 - .map(|&(ref k, ref v)| {
363 + .map(|(k, v)| {
|