Post
A method that takes a lock and performs some mutation would be non-const in C++. But if you were to declare it as `&mut self` in Rust, you would not be able to have concurrent callers. The whole point of having a Mutex in the first place!
0 reposts2 likes
No replies yet.