From 44bafaaf93a91641261f58ee38adadcd4af6458e Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Tue, 21 Feb 2017 23:36:31 -0500 Subject: [PATCH] docs: fix missing backticks --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5744868..901d977 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,7 +60,7 @@ impl LazyCell { /// Put a value into this cell. /// - /// This function will return Err(value) is the cell is already full. + /// This function will return `Err(value)` is the cell is already full. pub fn fill(&self, t: T) -> Result<(), T> { let mut slot = unsafe { &mut *self.inner.get() }; if slot.is_some() { @@ -127,7 +127,7 @@ impl AtomicLazyCell { /// Put a value into this cell. /// - /// This function will return Err(value) is the cell is already full. + /// This function will return `Err(value)` is the cell is already full. pub fn fill(&self, t: T) -> Result<(), T> { if NONE != self.state.compare_and_swap(NONE, LOCK, Ordering::Acquire) { return Err(t);