Skip to content

Commit 2b11ced

Browse files
committed
Removed/fixed MutexTrait
1 parent 0eb81a7 commit 2b11ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfcs/0377-mutex-trait.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ fn SWI0_EGU0() {
186186
}
187187

188188
// Look no RefCell and a lock!!!
189-
fn increment_in_mutex(m: &mut impl MutexTrait<Data = i32>) {
189+
fn increment_in_mutex(m: &mut impl core_mutex::Mutex<Data = i32>) {
190190
m.lock(|data| *data += 1);
191191
}
192192
```

0 commit comments

Comments
 (0)