mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
fix spelling errors in sync
This commit is contained in:
parent
dce5f40c26
commit
7621f47644
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -54,6 +54,7 @@
|
||||||
"mgba",
|
"mgba",
|
||||||
"normalise",
|
"normalise",
|
||||||
"normalised",
|
"normalised",
|
||||||
|
"nostack",
|
||||||
"Optimisation",
|
"Optimisation",
|
||||||
"optimise",
|
"optimise",
|
||||||
"optimised",
|
"optimised",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue