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 Header {
/// Get the difficulty field of the header.
pub fn difficulty(&self) -> &U256 { &self.difficulty }
/// Get the seal field of the header.
pub fn seal(&self) -> &Vec<Bytes> { &self.seal }
pub fn seal(&self) -> &[Bytes] { &self.seal }
// TODO: seal_at, set_seal_at &c.