Skip to content

Commit c622b34

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ impl<T: ?Sized> Mutex<T> {
238238
where
239239
T: Sized,
240240
{
241-
return self.data.into_inner();
241+
self.data.into_inner()
242242
}
243243

244244
/// Returns a mutable reference to the underlying data.

0 commit comments

Comments
 (0)