Why Nostr? What is Njump?
2023-12-11 23:25:20

Joel Michael on Nostr: let mutex = None; let file = None; loop { […] if let None = file { file = None; // ...

let mutex = None;
let file = None;

loop {
[…]
if let None = file {
file = None; // DO NOT REMOVE - makes borrow checker happy
mutex = None;
mutex = Some(card.lock().unwrap());
file = Some(mutex.open_file(FILE));
}
[…]
}

Completely normal programming language…

#Rust #RustLang
Author Public Key
npub1nqxuqdql5vg28e624hu4p7md38yf47ssvzwadpat05ls2a8kakrsgujqtk