Handle reorgs #19
ci.yml
on: pull_request
Annotations
2 errors
implementation of inherent method `to_string(&self) -> String` for type `clients::beacon::types::Topic`:
src/clients/beacon/types.rs#L9
error: implementation of inherent method `to_string(&self) -> String` for type `clients::beacon::types::Topic`
--> src/clients/beacon/types.rs:9:5
|
9 | / pub fn to_string(&self) -> String {
10 | | match self {
11 | | Topic::ChainReorg => String::from("chain_reorg"),
12 | | }
13 | | }
| |_____^
|
= help: implement trait `Display` for type `clients::beacon::types::Topic` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string
= note: `-D clippy::inherent-to-string` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::inherent_to_string)]`
|
lint
Clippy has exited with exit code 101
|