]> git.lizzy.rs Git - rust.git/commitdiff
Fix documentation error in MutableVectorAllocating::move_from
authordonkopotamus <general@chocolate-fish.com>
Mon, 28 Jul 2014 23:52:16 +0000 (11:52 +1200)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 29 Jul 2014 22:44:05 +0000 (15:44 -0700)
Correct `str` to `src`

src/libcollections/slice.rs

index 64062dc0ccbf8abc2e4f62adbaf5c7ca923727ab..5b1722b2769168d396a86de7f23a20cc3480c66d 100644 (file)
@@ -579,7 +579,7 @@ pub trait MutableVectorAllocating<'a, T> {
      *
      * * src - A mutable vector of `T`
      * * start - The index into `src` to start copying from
-     * * end - The index into `str` to stop copying from
+     * * end - The index into `src` to stop copying from
      */
     fn move_from(self, src: Vec<T>, start: uint, end: uint) -> uint;
 }