Update README.md #153
clippy
6 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 6 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0-nightly (5119208fd 2024-03-02)
- cargo 1.78.0-nightly (f772ec022 2024-03-01)
- clippy 0.1.78 (5119208 2024-03-02)
Annotations
Check warning on line 83 in azure-kusto-data/src/operations/query.rs
github-actions / clippy
the method `send` doesn't need a mutable reference
warning: the method `send` doesn't need a mutable reference
--> azure-kusto-data/src/operations/query.rs:83:19
|
83 | .send(&mut context, &mut request)
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
Check warning on line 65 in azure-kusto-data/src/cloud_info.rs
github-actions / clippy
the method `send` doesn't need a mutable reference
warning: the method `send` doesn't need a mutable reference
--> azure-kusto-data/src/cloud_info.rs:65:38
|
65 | let response = pipeline.send(&mut Context::new(), &mut request).await?;
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
= note: `#[warn(clippy::unnecessary_mut_passed)]` on by default
Check warning on line 6 in azure-kusto-data/src/error.rs
github-actions / clippy
the item `thiserror` is imported redundantly
warning: the item `thiserror` is imported redundantly
--> azure-kusto-data/src/error.rs:6:5
|
6 | use thiserror;
| ^^^^^^^^^ the item `thiserror` is already defined here
Check warning on line 6 in azure-kusto-data/src/cloud_info.rs
github-actions / clippy
the item `Context` is imported redundantly
warning: the item `Context` is imported redundantly
--> azure-kusto-data/src/cloud_info.rs:6:18
|
5 | use azure_core::prelude::*;
| ---------------------- the item `Context` is already imported here
6 | use azure_core::{Context, Method, Pipeline, Request, StatusCode};
| ^^^^^^^
Check warning on line 15 in azure-kusto-data/src/client.rs
github-actions / clippy
the item `TryFrom` is imported redundantly
warning: the item `TryFrom` is imported redundantly
--> azure-kusto-data/src/client.rs:15:5
|
15 | use std::convert::TryFrom;
| ^^^^^^^^^^^^^^^^^^^^^
--> /rustc/5119208fd78a77547c705d1695428c88d6791263/library/std/src/prelude/mod.rs:129:13
|
= note: the item `TryFrom` is already defined here
Check warning on line 1 in azure-kusto-data/src/arrow.rs
github-actions / clippy
the item `TryInto` is imported redundantly
warning: the item `TryInto` is imported redundantly
--> azure-kusto-data/src/arrow.rs:1:5
|
1 | use std::convert::TryInto;
| ^^^^^^^^^^^^^^^^^^^^^
--> /rustc/5119208fd78a77547c705d1695428c88d6791263/library/std/src/prelude/mod.rs:129:13
|
= note: the item `TryInto` is already defined here
|
= note: `#[warn(unused_imports)]` on by default