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 {