Non-serde DMA support on little endian #66
Annotations
19 warnings
test (1.76.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 10XGenomics/clippy-check@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (1.76.0)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'working-directory', 'use-cross']
|
the following explicit lifetimes could be elided: 'a:
src/bitvector.rs#L292
warning: the following explicit lifetimes could be elided: 'a
--> src/bitvector.rs:292:19
|
292 | pub fn as_ref<'a>(&'a self) -> BitVectorRef<'a> {
| ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
292 - pub fn as_ref<'a>(&'a self) -> BitVectorRef<'a> {
292 + pub fn as_ref(&self) -> BitVectorRef<'_> {
|
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L529
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:529:21
|
529 | n - (done_keys.len() as u64)
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `done_keys.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L609
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:609:16
|
609 | if done_keys.len() as u64 == n {
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `done_keys.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
this expression creates a reference which is immediately dereferenced by the compiler:
benches/build.rs#L82
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> benches/build.rs:82:43
|
82 | std::hint::black_box(phf.hash(&i));
| ^^ help: change this to: `i`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L1125
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:1125:32
|
1125 | let gt: Vec<u64> = (0..total as u64).collect();
| ^^^^^^^^^^^^ help: try: `total`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L1145
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:1145:32
|
1145 | let gt: Vec<u64> = (0..total as u64).collect();
| ^^^^^^^^^^^^ help: try: `total`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L1252
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:1252:22
|
1252 | let gt = (0..total as u64).collect::<Vec<u64>>();
| ^^^^^^^^^^^^ help: try: `total`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
test (1.66.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 10XGenomics/clippy-check@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (1.66.0)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'working-directory', 'use-cross']
|
explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration):
src/bitvector.rs#L292
warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration)
--> src/bitvector.rs:292:5
|
292 | pub fn as_ref<'a>(&'a self) -> BitVectorRef<'a> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L248
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:248:9
|
248 | fastmod(fold(h), n as u32) as u64
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `fastmod(fold(h), n as u32)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L529
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:529:21
|
529 | n - (done_keys.len() as u64)
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `done_keys.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L609
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:609:16
|
609 | if done_keys.len() as u64 == n {
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `done_keys.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
this expression creates a reference which is immediately dereferenced by the compiler:
benches/build.rs#L82
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> benches/build.rs:82:43
|
82 | std::hint::black_box(phf.hash(&i));
| ^^ help: change this to: `i`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L1125
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:1125:32
|
1125 | let gt: Vec<u64> = (0..total as u64).collect();
| ^^^^^^^^^^^^ help: try: `total`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L1145
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:1145:32
|
1145 | let gt: Vec<u64> = (0..total as u64).collect();
| ^^^^^^^^^^^^ help: try: `total`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/lib.rs#L1252
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/lib.rs:1252:22
|
1252 | let gt = (0..total as u64).collect::<Vec<u64>>();
| ^^^^^^^^^^^^ help: try: `total`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|