This commit is contained in:
Quaternions 2024-08-05 13:35:27 -07:00
parent 8d4db7e654
commit eb99ea3707

View File

@ -33,7 +33,7 @@ pub fn new<'a>(scope:&'a std::thread::Scope<'a,'_>)->crate::worker::QNWorker<'a,
} }
} }
Instruction::Push{ins}=>{ Instruction::Push{ins}=>{
match &worker.file{ match &mut worker.file{
Some(file)=>file.push(ins).unwrap(), Some(file)=>file.push(ins).unwrap(),
None=>println!("no file created!"), None=>println!("no file created!"),
} }