v0.11.15: lint cleanup — fmt + clippy clean

This commit is contained in:
Matt Jackson
2026-04-21 18:52:55 +00:00
parent afae37c8c3
commit 8843833ea7
16 changed files with 108 additions and 63 deletions
+7 -2
View File
@@ -5,7 +5,7 @@
//!
//! Read-only. For disc→ISO (raw sector copy), use `Disc::copy()`.
use crate::disc::{detect_max_batch_sectors, Disc, DiscTitle, Extent, ScanOptions};
use crate::disc::{Disc, DiscTitle, Extent};
use crate::event::{Event, EventKind};
use crate::sector::SectorReader;
use std::io;
@@ -171,7 +171,12 @@ impl DiscStream {
let offset = self.buf_valid;
if self
.reader
.read_sectors_recover(lba, count, &mut self.read_buf[offset..offset + bytes], false)
.read_sectors_recover(
lba,
count,
&mut self.read_buf[offset..offset + bytes],
false,
)
.is_ok()
{
self.buf_valid += bytes;