expunge &Vec<T> pattern (#1579)

* expunge &Vec<T> pattern

* fix travis
This commit is contained in:
Robert Habermeier
2016-07-12 10:28:35 +02:00
committed by Gav Wood
parent 92fd00f41e
commit 7200cfcbc9
13 changed files with 48 additions and 49 deletions

View File

@@ -143,7 +143,7 @@ impl Spec {
}
/// Get the known knodes of the network in enode format.
pub fn nodes(&self) -> &Vec<String> { &self.nodes }
pub fn nodes(&self) -> &[String] { &self.nodes }
/// Get the configured Network ID.
pub fn network_id(&self) -> U256 { self.params.network_id }