v0.11.16: API cleanup — one method per action

This commit is contained in:
Matt Jackson
2026-04-21 19:17:50 +00:00
parent d4818ad88e
commit 63b68a01a5
18 changed files with 83 additions and 99 deletions
+1 -5
View File
@@ -710,11 +710,7 @@ impl Drop for Drive {
}
impl SectorReader for Drive {
fn read_sectors(&mut self, lba: u32, count: u16, buf: &mut [u8]) -> Result<usize> {
self.read(lba, count, buf, true)
}
fn read_sectors_recover(
fn read_sectors(
&mut self,
lba: u32,
count: u16,