Skip to content

Commit

Permalink
chore: fix clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
  • Loading branch information
chawyehsu committed Sep 9, 2023
1 parent d1ff3f6 commit 6f57912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/libscoop/src/package/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ impl Transaction {
fn add_view(&self) -> Vec<&Package> {
self.install_view()
.into_iter()
.chain(self.upgrade_view().into_iter())
.chain(self.replace_view().into_iter())
.chain(self.upgrade_view())
.chain(self.replace_view())
.flatten()
.collect::<Vec<_>>()
}
Expand Down

0 comments on commit 6f57912

Please sign in to comment.