Fixed a clippy warning.

This commit is contained in:
MGlolenstine
2023-11-14 16:17:29 +01:00
parent d6fb80028c
commit 7d09d92589
+1 -1
View File
@@ -63,7 +63,7 @@ impl MapFile {
pub fn get_entry(&self, start: usize, end: usize) -> Option<&MapFileEntry> {
let entries: Vec<_> = self.data.values(start..end).collect();
match entries.get(0) {
match entries.first() {
Some(entry) => {
if entry.symbol_vrom > start {
return None;