Indicate trait names in doc-comment are code-like

This commit is contained in:
Corey Farwell 2015-04-23 01:27:11 -04:00
parent 6b29a7d564
commit 115705f8ec

View File

@ -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> {