Skip to content

Commit 57fef0f

Browse files
donkopotamusalexcrichton
authored andcommitted
Fix documentation error in MutableVectorAllocating::move_from
Correct `str` to `src`
1 parent 16bc720 commit 57fef0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/slice.rs

Lines changed: 1 addition & 1 deletion
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)