2 ms·
You can pass the mutex by value and it does continue to protect its value. https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=2c381bd3047a
by mastax 11mo ago
You can pass the mutex by value and it does continue to protect its value.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=2c381bd3047aaf776f376064fb804c85 https://play.rust-lang.org/?version=stable&mode=debug&editio...