From dcf320a6394c712aaeca1cd39f054b11c129af97 Mon Sep 17 00:00:00 2001 From: aochagavia Date: Fri, 14 Mar 2014 16:32:04 +0100 Subject: [PATCH] Fixed comment of as_mut_slice (libstd/option.rs) The old comment did not describe the function correctly --- src/libstd/option.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/option.rs b/src/libstd/option.rs index 86f8c143a9e9..d315e8e3219d 100644 --- a/src/libstd/option.rs +++ b/src/libstd/option.rs @@ -104,7 +104,7 @@ impl Option { } } - /// Convert from `Option` to `&[T]` (without copying) + /// Convert from `Option` to `&mut [T]` (without copying) #[inline] pub fn as_mut_slice<'r>(&'r mut self) -> &'r mut [T] { match *self {