forked from StrafesNET/strafe-client
the api
This commit is contained in:
parent
8d4db7e654
commit
eb99ea3707
@ -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!"),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user