Skip to content

Commit 5533a47

Browse files
committed
Fix documentation error in MutableVectorAllocating::move_from
Correct `str` to `src`
1 parent 279a780 commit 5533a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ pub trait MutableVectorAllocating<'a, T> {
579579
*
580580
* * src - A mutable vector of `T`
581581
* * start - The index into `src` to start copying from
582-
* * end - The index into `str` to stop copying from
582+
* * end - The index into `src` to stop copying from
583583
*/
584584
fn move_from(self, src: Vec<T>, start: uint, end: uint) -> uint;
585585
}

0 commit comments

Comments
 (0)