Skip to content

Commit 115705f

Browse files
committed
Indicate trait names in doc-comment are code-like
1 parent 6b29a7d commit 115705f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/mutex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ pub struct StaticMutex {
161161
/// dropped (falls out of scope), the lock will be unlocked.
162162
///
163163
/// The data protected by the mutex can be access through this guard via its
164-
/// Deref and DerefMut implementations
164+
/// `Deref` and `DerefMut` implementations
165165
#[must_use]
166166
#[stable(feature = "rust1", since = "1.0.0")]
167167
pub struct MutexGuard<'a, T: 'a> {

0 commit comments

Comments
 (0)