Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <[email protected]>
  • Loading branch information
seanyoung committed Oct 28, 2023
1 parent ab89d58 commit 6449b54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/lirc_compare/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn main() {

let lircd_conf = LircdConf::parse(&source).unwrap();

let our_conf = parse(path).unwrap_or(Vec::new());
let our_conf = parse(path).unwrap_or_default();
let mut our_conf = our_conf.iter();

for lircd_remote in lircd_conf.iter() {
Expand Down
2 changes: 1 addition & 1 deletion tests/lircd_conf_encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn lircd_encode(path: &Path) {

let lircd_conf = LircdConf::parse(&source).unwrap();

let our_conf = parse(path).unwrap_or(Vec::new());
let our_conf = parse(path).unwrap_or_default();
let mut our_conf = our_conf.iter();

for lircd_remote in lircd_conf.iter() {
Expand Down

0 comments on commit 6449b54

Please sign in to comment.