Skip to content

Commit 1a6a770

Browse files
Aandrebaoxalica
andauthored
Update library/std/src/sync/nonpoison/mutex.rs
Co-authored-by: oxalica <[email protected]>
1 parent c622b34 commit 1a6a770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sync/nonpoison/mutex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ impl<T: ?Sized> Mutex<T> {
258258
#[unstable(feature = "nonpoison_mutex", issue = "134645")]
259259
#[inline]
260260
pub fn get_mut(&mut self) -> &mut T {
261-
return self.data.get_mut();
261+
self.data.get_mut()
262262
}
263263
}
264264

0 commit comments

Comments
 (0)