We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be2ffdd + ca72440 commit 3ad5bc0Copy full SHA for 3ad5bc0
src/libstd/sync/mutex.rs
@@ -311,7 +311,7 @@ impl<T: ?Sized> Drop for Mutex<T> {
311
}
312
313
#[stable(feature = "rust1", since = "1.0.0")]
314
-impl<T: ?Sized + fmt::Debug + 'static> fmt::Debug for Mutex<T> {
+impl<T: ?Sized + fmt::Debug> fmt::Debug for Mutex<T> {
315
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
316
match self.try_lock() {
317
Ok(guard) => write!(f, "Mutex {{ data: {:?} }}", &*guard),
0 commit comments