rust/library/std/src/sys
Mara Bos 3b70c29103 Fix typo in futex RwLock::write_contended.
I wrote `state` where I should've used `s`.

This removes the unnecessary `s` variable to prevent that mistake.

Fortunately, this typo didn't affect the correctness of the lock, as the
second half of the condition (!has_writers_waiting) is enough for
correctness, which explains why this mistake didn't show up during
testing.
2022-05-21 11:15:28 +02:00
..
common resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
hermit Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00
itron Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00
sgx Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00
solid Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00
unix Fix typo in futex RwLock::write_contended. 2022-05-21 11:15:28 +02:00
unsupported Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00
wasi Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00
wasm Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00
windows Rollup merge of #97127 - Mark-Simulacrum:revert-96441, r=m-ou-se 2022-05-19 08:22:43 +09:00
mod.rs Use target_family = "wasm" 2021-11-10 08:35:42 -08:00