diff options
Diffstat (limited to 'openpgp/src/parse/map.rs')
-rw-r--r-- | openpgp/src/parse/map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/parse/map.rs b/openpgp/src/parse/map.rs index b0c7bbea..d5012e39 100644 --- a/openpgp/src/parse/map.rs +++ b/openpgp/src/parse/map.rs @@ -50,7 +50,7 @@ impl Map { Map { length: 0, entries: Vec::new(), - header: header, + header, data: Vec::new(), } } @@ -235,7 +235,7 @@ struct Iter<'a> { impl<'a> Iter<'a> { fn new(map: &'a Map) -> Iter<'a> { Iter { - map: map, + map, i: 0, } } |