From 5fd2e15313eb74d4e9345ee25dd5f63edfc56b44 Mon Sep 17 00:00:00 2001 From: arkpar Date: Mon, 12 Dec 2016 23:21:44 +0100 Subject: [PATCH] Style and docs --- ethcore/src/spec/spec.rs | 2 +- parity/upgrade.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ethcore/src/spec/spec.rs b/ethcore/src/spec/spec.rs index c9a7a8918..7c0e33251 100644 --- a/ethcore/src/spec/spec.rs +++ b/ethcore/src/spec/spec.rs @@ -66,7 +66,7 @@ pub struct Spec { pub name: String, /// What engine are we using for this? pub engine: Arc, - /// The fork identifier for this chain. Only needed to distinguish two chains sharing the same genesis. + /// Name of the subdir inside the main data dir to use for chain data and settings. pub data_dir: String, /// Known nodes on the network in enode format. diff --git a/parity/upgrade.rs b/parity/upgrade.rs index 273d98d1c..8e0749ceb 100644 --- a/parity/upgrade.rs +++ b/parity/upgrade.rs @@ -130,7 +130,6 @@ pub fn upgrade(db_path: Option<&str>) -> Result { }) } - fn file_exists(path: &Path) -> bool { match fs::metadata(&path) { Err(ref e) if e.kind() == io::ErrorKind::NotFound => false,