From 5533a4797831536d7ed0722f8c09fbe82262bf2b Mon Sep 17 00:00:00 2001 From: donkopotamus Date: Tue, 29 Jul 2014 11:52:16 +1200 Subject: [PATCH] Fix documentation error in MutableVectorAllocating::move_from Correct `str` to `src` --- src/libcollections/slice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs index 64062dc0ccbf8..5b1722b276916 100644 --- a/src/libcollections/slice.rs +++ b/src/libcollections/slice.rs @@ -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, start: uint, end: uint) -> uint; }