Update Rust to latest version
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user