FIX: Make Clippy happy

Automatic fixes
This commit is contained in:
Nicolás Hatcher
2025-01-18 20:04:21 +01:00
committed by Nicolás Hatcher Andrés
parent 263bab2cf9
commit 1b7389fd23
3 changed files with 4 additions and 16 deletions

View File

@@ -960,10 +960,7 @@ impl Model {
}
}
}
let sheet = match self.get_sheet_index_by_name(&sheet_name) {
Some(s) => s,
None => return None,
};
let sheet = self.get_sheet_index_by_name(&sheet_name)?;
let row = match row.parse::<i32>() {
Ok(r) => r,
Err(_) => return None,