From e84461a5c509240dfcc01a866a8c19bb9670d219 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Wed, 7 Oct 2015 09:30:51 -0400 Subject: [PATCH] Alter formatting for words in Option::cloned doc comment --- src/libcore/option.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libcore/option.rs b/src/libcore/option.rs index d1bb65d22904a..0e4c6d1676e63 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -706,7 +706,8 @@ impl Option { } impl<'a, T: Clone> Option<&'a T> { - /// Maps an Option<&T> to an Option by cloning the contents of the Option. + /// Maps an `Option<&T>` to an `Option` by cloning the contents of the + /// option. #[stable(feature = "rust1", since = "1.0.0")] pub fn cloned(self) -> Option { self.map(|t| t.clone())