Address clippy warnings

This commit is contained in:
topjohnwu
2024-02-27 21:03:34 -08:00
parent 715284b70d
commit 987e5f5413
2 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ fn do_extract_boot_from_payload(
let out_offset = operation
.dst_extents
.get(0)
.first()
.ok_or_else(|| bad_payload!("dst extents not found"))?
.start_block
.ok_or_else(|| bad_payload!("start block not found"))?