diff options
author | Nadrieril | 2020-03-17 23:01:35 +0000 |
---|---|---|
committer | Nadrieril | 2020-03-17 23:14:32 +0000 |
commit | c22e161f7bd97d4f6c063513cc051f6af2683d84 (patch) | |
tree | 7ebb20c3e9db1657a731c5871716e82685dcab6d /dhall/src/syntax/ast | |
parent | 681dad33cf27b2be4f4b3cefd83998af1d7eefb2 (diff) |
Run clippy
Diffstat (limited to '')
-rw-r--r-- | dhall/src/syntax/ast/map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/src/syntax/ast/map.rs b/dhall/src/syntax/ast/map.rs index 8b896c0..7a88204 100644 --- a/dhall/src/syntax/ast/map.rs +++ b/dhall/src/syntax/ast/map.rs @@ -73,7 +73,7 @@ mod dup_tree_map { >, >; - fn zip_repeat<'a, K, I>((k, iter): (K, I)) -> ZipRepeatIter<(K, I)> + fn zip_repeat<K, I>((k, iter): (K, I)) -> ZipRepeatIter<(K, I)> where K: Clone, I: IntoIterator, @@ -229,7 +229,7 @@ mod dup_tree_set { self.map.is_empty() } - pub fn iter<'a>(&'a self) -> Iter<'a, K> { + pub fn iter(&self) -> Iter<'_, K> { self.map.iter().map(drop_second) } } |