Skip to content

Commit

Permalink
* unwrap_or(vec![]) -> unwrap_or_default()
Browse files Browse the repository at this point in the history
  • Loading branch information
yhchiang-sol committed Mar 22, 2024
1 parent 054f38a commit 8954981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-db/src/accounts_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ impl AccountsFile {
};
reader
.accounts(IndexOffset(offset as u32))
.unwrap_or(vec![])
.unwrap_or_default()
}
}
}
Expand Down

0 comments on commit 8954981

Please sign in to comment.