fix last query bug #38
Annotations
5 errors
direct implementation of `ToString`:
packages/neutron-query/src/lib.rs#L22
error: direct implementation of `ToString`
--> packages/neutron-query/src/lib.rs:22:1
|
22 | / impl ToString for QueryType {
23 | | fn to_string(&self) -> String {
24 | | match self {
25 | | QueryType::KV => "kv".to_string(),
... |
28 | | }
29 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
= note: `-D clippy::to-string-trait-impl` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::to_string_trait_impl)]`
|
direct implementation of `ToString`:
packages/neutron-query/src/lib.rs#L22
error: direct implementation of `ToString`
--> packages/neutron-query/src/lib.rs:22:1
|
22 | / impl ToString for QueryType {
23 | | fn to_string(&self) -> String {
24 | | match self {
25 | | QueryType::KV => "kv".to_string(),
... |
28 | | }
29 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
= note: `-D clippy::to-string-trait-impl` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::to_string_trait_impl)]`
|
ubuntu / beta
Process completed with exit code 101.
|
ubuntu / stable
The job was canceled because "beta" failed.
|
ubuntu / stable
The operation was canceled.
|