baseline http vs conductor overhead benchmark #10
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.0 (aedd173a2 2024-03-17)
- cargo 1.77.0 (3fe68eabf 2024-02-29)
- clippy 0.1.77 (aedd173 2024-03-17)
Annotations
Check warning on line 287 in libs/engine/src/schema_awareness.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> libs/engine/src/schema_awareness.rs:287:53
|
287 | let introspection = parse_introspection_str(&content).map_err(|source| {
| ^^^^^^^^ help: change this to: `content`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check warning on line 207 in libs/engine/src/schema_awareness.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> libs/engine/src/schema_awareness.rs:207:30
|
207 | parse_graphql_schema(&content).map(|schema| (content.clone(), schema))
| ^^^^^^^^ help: change this to: `content`
|
= 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
Check warning on line 88 in libs/federation_query_planner/src/lib.rs
github-actions / clippy
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> libs/federation_query_planner/src/lib.rs:88:18
|
88 | query_steps: &Vec<QueryStep>,
| ^^^^^^^^^^^^^^^ help: change this to: `&[QueryStep]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
Check warning on line 46 in libs/tracing/src/otel_utils.rs
github-actions / clippy
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> libs/tracing/src/otel_utils.rs:46:11
|
46 | errors: &Vec<GraphQLError>,
| ^^^^^^^^^^^^^^^^^^ help: change this to: `&[GraphQLError]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default