mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
387df6efb1
Fix redundant boolean comparison in `Mutex::try_lock` Simplify boolean return in `Mutex::try_lock`. Replace `expr == false` with `!expr` for cleaner code.