about summary refs log tree commit diff
path: root/src/libcore/option.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-10-07 09:30:51 -0400
committerCorey Farwell <coreyf@rwell.org>2015-10-07 09:38:36 -0400
commite84461a5c509240dfcc01a866a8c19bb9670d219 (patch)
tree34ae5ede90c0d8a8a8a8df27fb2829d9b76e4916 /src/libcore/option.rs
parentd454c826f3d453ccebcf3d9ccce4dabb2cccd752 (diff)
downloadrust-e84461a5c509240dfcc01a866a8c19bb9670d219.tar.gz
rust-e84461a5c509240dfcc01a866a8c19bb9670d219.zip
Alter formatting for words in Option::cloned doc comment
Diffstat (limited to 'src/libcore/option.rs')
-rw-r--r--src/libcore/option.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs
index d1bb65d2290..0e4c6d1676e 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -706,7 +706,8 @@ impl<T> Option<T> {
 }
 
 impl<'a, T: Clone> Option<&'a T> {
-    /// Maps an Option<&T> to an Option<T> by cloning the contents of the Option.
+    /// Maps an `Option<&T>` to an `Option<T>` by cloning the contents of the
+    /// option.
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn cloned(self) -> Option<T> {
         self.map(|t| t.clone())