about summary refs log tree commit diff
path: root/src/libcore/ops.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-09-29 08:12:42 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-09-29 08:12:42 -0700
commitbb84afeba16fa1b5c3af7d5d5c03c27b1a369306 (patch)
tree72b0fda73186f279e8d6acd986b2d0a132774575 /src/libcore/ops.rs
parente786891d41c1e3d03ac2cf91fe4b5673137db11d (diff)
parentf57e9d0cc81f3a080eed5c29980c3fadb490102d (diff)
downloadrust-bb84afeba16fa1b5c3af7d5d5c03c27b1a369306.tar.gz
rust-bb84afeba16fa1b5c3af7d5d5c03c27b1a369306.zip
rollup merge of #17564 : japaric/fix-slicemut-docs
Diffstat (limited to 'src/libcore/ops.rs')
-rw-r--r--src/libcore/ops.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs
index 718d3119995..ad0f128a02e 100644
--- a/src/libcore/ops.rs
+++ b/src/libcore/ops.rs
@@ -764,13 +764,13 @@ pub trait Slice<Idx, Sized? Result> for Sized? {
 // FIXME(#17273) remove the postscript _s
 #[lang="slice_mut"]
 pub trait SliceMut<Idx, Sized? Result> for Sized? {
-    /// The method for the slicing operation foo[]
+    /// The method for the slicing operation foo[mut]
     fn as_mut_slice_<'a>(&'a mut self) -> &'a mut Result;
-    /// The method for the slicing operation foo[from..]
+    /// The method for the slicing operation foo[mut from..]
     fn slice_from_mut_<'a>(&'a mut self, from: &Idx) -> &'a mut Result;
-    /// The method for the slicing operation foo[..to]
+    /// The method for the slicing operation foo[mut ..to]
     fn slice_to_mut_<'a>(&'a mut self, to: &Idx) -> &'a mut Result;
-    /// The method for the slicing operation foo[from..to]
+    /// The method for the slicing operation foo[mut from..to]
     fn slice_mut_<'a>(&'a mut self, from: &Idx, to: &Idx) -> &'a mut Result;
 }
 /**