Update Rust to latest version

This commit is contained in:
2025-01-20 22:39:59 +00:00
parent 6d923b6ab6
commit 4b08a8b6b8
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ pub struct Reader<'a> {
impl<'a> Reader<'a> {
const CD_PREGAP_SECTORS:usize = Time::cd_pregap().as_sectors();
pub fn new(file: std::fs::File, data_type_guide: &'a Vec<DataTypeEnd>, unk_sector_behav: UnknownSectorBehavior) -> Result<Reader, Error> {
pub fn new(file: std::fs::File, data_type_guide: &Vec<DataTypeEnd>, unk_sector_behav: UnknownSectorBehavior) -> Result<Reader, Error> {
Ok(Reader{
file, data_type_guide, unk_sector_behav, lba: Self::CD_PREGAP_SECTORS, active: true
})