Bump clippy (#1587)

* Bumping clippy

* Fixing warnings
This commit is contained in:
Tomasz Drwięga
2016-07-12 10:34:08 +02:00
committed by Gav Wood
parent 636ecf306a
commit fbc0e0039a
11 changed files with 22 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ ethcore-util = { path = "../util" }
evmjit = { path = "../evmjit", optional = true }
ethash = { path = "../ethash" }
num_cpus = "0.2"
clippy = { version = "0.0.78", optional = true}
clippy = { version = "0.0.79", optional = true}
crossbeam = "0.2.9"
lazy_static = "0.2"
ethcore-devtools = { path = "../devtools" }

View File

@@ -61,7 +61,7 @@ fn attempt_migrate(mut key_h: H256, val: &[u8]) -> Option<H256> {
}
}
/// Version for ArchiveDB.
/// Version for `ArchiveDB`.
pub struct ArchiveV7;
impl SimpleMigration for ArchiveV7 {
@@ -91,7 +91,7 @@ const V7_VERSION_KEY: &'static [u8] = &[ b'j', b'v', b'e', b'r', 0, 0, 0, 0, 0,
const DB_VERSION: u32 = 0x203;
const PADDING : [u8; 10] = [0u8; 10];
/// Version for OverlayRecent database.
/// Version for `OverlayRecent` database.
/// more involved than the archive version because of journaling.
#[derive(Default)]
pub struct OverlayRecentV7 {
@@ -244,4 +244,4 @@ impl Migration for OverlayRecentV7 {
try!(self.walk_journal(source));
self.migrate_journal(source, batch, dest)
}
}
}