Skip to content

Commit

Permalink
style: rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhermoso committed Jan 19, 2025
1 parent c9183a3 commit a8ed5a4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/operations/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,9 @@ fn as_json(scheme_files: HashMap<String, SchemeFile>) -> Result<String> {
chunk
.into_iter()
.filter_map(|(k, sf)| {
return sf
.get_scheme()
sf.get_scheme()
.ok()
.map(|scheme| (k.to_string(), SchemeEntry::from_scheme(&scheme)));
.map(|scheme| (k.to_string(), SchemeEntry::from_scheme(&scheme)))
})
.collect::<HashMap<String, SchemeEntry>>()
})
Expand Down

0 comments on commit a8ed5a4

Please sign in to comment.