Skip to content

Commit

Permalink
more clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 committed May 10, 2023
1 parent b36002f commit 25ff300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program-runtime/src/loaded_programs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ impl LoadedPrograms {

pub fn unload_all_programs(&mut self) {
let keys = self.entries.keys().copied().collect::<Vec<Pubkey>>();
keys.iter().for_each(|key| self.unload_program(&key));
keys.iter().for_each(|key| self.unload_program(key));
}

fn unload_program_entries<'a>(
Expand Down

0 comments on commit 25ff300

Please sign in to comment.