Skip to content

Commit 3034814

Browse files
committed
Fix mutable reference.
1 parent eec7e5e commit 3034814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/freertos/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl ReentrantMutex {
104104
}
105105

106106
#[inline]
107-
pub unsafe fn init(&mut self) {
107+
pub unsafe fn init(&self) {
108108
self.atomic_init();
109109
}
110110

0 commit comments

Comments
 (0)