diff options
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/option.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/option.rs b/src/libstd/option.rs index 86f8c143a9e..d315e8e3219 100644 --- a/src/libstd/option.rs +++ b/src/libstd/option.rs @@ -104,7 +104,7 @@ impl<T> Option<T> { } } - /// Convert from `Option<T>` to `&[T]` (without copying) + /// Convert from `Option<T>` to `&mut [T]` (without copying) #[inline] pub fn as_mut_slice<'r>(&'r mut self) -> &'r mut [T] { match *self { |
