macro_rules! colloportus {
($door:expr) => { ... };
}Expand description
Alias for Mutex::lock.
ยงExample
use std::sync::Mutex;
let door = Mutex::new(5);
let guard_result = colloportus!(&door);macro_rules! colloportus {
($door:expr) => { ... };
}Alias for Mutex::lock.
use std::sync::Mutex;
let door = Mutex::new(5);
let guard_result = colloportus!(&door);