New LRU cache implementation #830
clippy
5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c 2023-09-13)
Annotations
Check warning on line 386 in nucliadb_node/tests/test_search_relations.rs
github-actions / clippy
struct update has no effect, all the fields in the struct have already been specified
warning: struct update has no effect, all the fields in the struct have already been specified
--> nucliadb_node/tests/test_search_relations.rs:386:19
|
386 | ..Default::default()
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
= note: `#[warn(clippy::needless_update)]` on by default
Check warning on line 30 in nucliadb_node/src/grpc/grpc_writer.rs
github-actions / clippy
unused import: `NodeResult`
warning: unused import: `NodeResult`
--> nucliadb_node/src/grpc/grpc_writer.rs:30:30
|
30 | use nucliadb_core::{Channel, NodeResult};
| ^^^^^^^^^^
Check warning on line 27 in nucliadb_node/src/grpc/grpc_reader.rs
github-actions / clippy
unused import: `nucliadb_core::NodeResult`
warning: unused import: `nucliadb_core::NodeResult`
--> nucliadb_node/src/grpc/grpc_reader.rs:27:5
|
27 | use nucliadb_core::NodeResult;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Check warning on line 30 in nucliadb_node/src/grpc/grpc_writer.rs
github-actions / clippy
unused import: `NodeResult`
warning: unused import: `NodeResult`
--> nucliadb_node/src/grpc/grpc_writer.rs:30:30
|
30 | use nucliadb_core::{Channel, NodeResult};
| ^^^^^^^^^^
Check warning on line 27 in nucliadb_node/src/grpc/grpc_reader.rs
github-actions / clippy
unused import: `nucliadb_core::NodeResult`
warning: unused import: `nucliadb_core::NodeResult`
--> nucliadb_node/src/grpc/grpc_reader.rs:27:5
|
27 | use nucliadb_core::NodeResult;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default