From 115705f8ece16e1e025b925459316620eb60cec6 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Thu, 23 Apr 2015 01:27:11 -0400 Subject: [PATCH] Indicate trait names in doc-comment are code-like --- src/libstd/sync/mutex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/sync/mutex.rs b/src/libstd/sync/mutex.rs index 7896870ea07..5e688717c4a 100644 --- a/src/libstd/sync/mutex.rs +++ b/src/libstd/sync/mutex.rs @@ -161,7 +161,7 @@ pub struct StaticMutex { /// dropped (falls out of scope), the lock will be unlocked. /// /// The data protected by the mutex can be access through this guard via its -/// Deref and DerefMut implementations +/// `Deref` and `DerefMut` implementations #[must_use] #[stable(feature = "rust1", since = "1.0.0")] pub struct MutexGuard<'a, T: 'a> {