fix spelling errors in sync

This commit is contained in:
Gwilym Kuiper 2022-11-17 21:15:23 +00:00
parent dce5f40c26
commit 7621f47644
2 changed files with 2 additions and 1 deletions

View file

@ -54,6 +54,7 @@
"mgba", "mgba",
"normalise", "normalise",
"normalised", "normalised",
"nostack",
"Optimisation", "Optimisation",
"optimise", "optimise",
"optimised", "optimised",

View file

@ -26,7 +26,7 @@ impl RawMutex {
/// Locks the mutex and returns whether a lock was successfully acquired. /// Locks the mutex and returns whether a lock was successfully acquired.
fn raw_lock(&self) -> bool { fn raw_lock(&self) -> bool {
if self.0.replace(true) { if self.0.replace(true) {
// value was already true, opps. // value was already true, oops.
false false
} else { } else {
// prevent any weird reordering, and continue // prevent any weird reordering, and continue