We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f4acfc commit 9086487Copy full SHA for 9086487
src/types/dtype.rs
@@ -182,7 +182,7 @@ fn get_cell_dtype<DT: CellType + Debug + DataType>(
182
) -> FastExcelResult<DType> {
183
let cell = data
184
.get((row, col))
185
- .ok_or_else(|| FastExcelErrorKind::CannotRetrieveCellData(row, col))?;
+ .ok_or(FastExcelErrorKind::CannotRetrieveCellData(row, col))?;
186
187
if cell.is_int() {
188
Ok(DType::Int)
0 commit comments