From 46d841f81f7eda103eb9fc913065b62720efb000 Mon Sep 17 00:00:00 2001 From: debris Date: Wed, 2 Dec 2015 23:35:34 +0100 Subject: [PATCH] removed redundant lifetime --- src/trie.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trie.rs b/src/trie.rs index 1dde1993c..3c8527424 100644 --- a/src/trie.rs +++ b/src/trie.rs @@ -303,7 +303,7 @@ impl TrieDB { } } - fn get_raw_or_lookup<'a, 'b>(&'a self, node: &'b [u8]) -> &'b [u8] where 'a: 'b { + fn get_raw_or_lookup<'a>(&'a self, node: &'a [u8]) -> &'a [u8] { // check if its sha3 + len let r = Rlp::new(node); match r.is_data() && r.size() == 32 {