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",
"normalise",
"normalised",
"nostack",
"Optimisation",
"optimise",
"optimised",

View file

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