Skip to content

Commit

Permalink
Workaround for flex-error-related clippy warning
Browse files Browse the repository at this point in the history
Signed-off-by: Thane Thomson <connect@thanethomson.com>
  • Loading branch information
thanethomson committed Feb 25, 2022
1 parent 0414185 commit d3656d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions p2p/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
//! Error types

// Related to the `Error` definition below.
// TODO(soares): Update flex-error accordingly to address this.
#![allow(clippy::use_self)]

use flex_error::{define_error, DisplayOnly};
use prost::DecodeError;

Expand Down

0 comments on commit d3656d3

Please sign in to comment.