Skip to content

Commit 6b08e58

Browse files
committed
♻️ support clippy update 0.1.58 -> 0.1.59
1 parent e0364d0 commit 6b08e58

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/version/alias.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ pub fn read_aliases_dir(config: &Config) -> impl Iterator<Item = (Alias, Local)>
7878
std::fs::read_dir(&aliases_dir)
7979
.unwrap()
8080
.flatten()
81-
.map(|entry| read_alias(entry.path()))
82-
.flatten()
81+
.flat_map(|entry| read_alias(entry.path()))
8382
}
8483

8584
impl Ord for Alias {

0 commit comments

Comments
 (0)