Skip to content

Commit

Permalink
Appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwhit committed Apr 29, 2024
1 parent b52f9c2 commit 4eccc3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cli/module_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,8 @@ pub async fn load_top_level_deps(factory: &CliFactory) -> Result<(), AnyError> {
.filter_map(|entry| {
if entry.key.ends_with('/') {
None
} else if let Some(value) = entry.value {
Some(value.clone())
} else {
None
entry.value.cloned()
}
})
.collect();
Expand Down

0 comments on commit 4eccc3c

Please sign in to comment.