Skip to content

Commit

Permalink
Fix clippy lints as of Rust 1.66.1 (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: landhb <landhb@users.noreply.github.com>
  • Loading branch information
landhb and landhb authored Jan 24, 2023
1 parent 7e677e7 commit fcce2a3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/pickledb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,14 +550,8 @@ impl PickleDb {
///
pub fn get_all(&self) -> Vec<String> {
[
self.map
.iter()
.map(|(key, _)| key.clone())
.collect::<Vec<String>>(),
self.list_map
.iter()
.map(|(key, _)| key.clone())
.collect::<Vec<String>>(),
self.map.keys().cloned().collect::<Vec<String>>(),
self.list_map.keys().cloned().collect::<Vec<String>>(),
]
.concat()
}
Expand Down

0 comments on commit fcce2a3

Please sign in to comment.