Fixing clippy warnings

This commit is contained in:
Tomusdrw
2016-02-15 00:51:50 +01:00
parent 5b6e47c56f
commit 2c4700f4c1
13 changed files with 78 additions and 58 deletions

View File

@@ -55,6 +55,7 @@ impl Visitor for BlockNumberVisitor {
}
impl Into<BlockId> for BlockNumber {
#[allow(match_same_arms)]
fn into(self) -> BlockId {
match self {
BlockNumber::Num(n) => BlockId::Number(n),