logoalt Hacker News

mastaxtoday at 1:13 AM0 repliesview on HN

You can pass the mutex by value and it does continue to protect its value.

https://play.rust-lang.org/?version=stable&mode=debug&editio...