mirror of
https://github.com/encounter/bdiff.git
synced 2026-03-30 10:57:46 -07:00
Fixed a clippy warning.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user