Update vec-drain.md

missed comma
pull/41/head
viktor kharitonovich 7 years ago committed by GitHub
parent 1625e0b8c8
commit e45316fbe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@ struct Drain<'a, T: 'a> {
// Need to bound the lifetime here, so we do it with `&'a mut Vec<T>` // Need to bound the lifetime here, so we do it with `&'a mut Vec<T>`
// because that's semantically what we contain. We're "just" calling // because that's semantically what we contain. We're "just" calling
// `pop()` and `remove(0)`. // `pop()` and `remove(0)`.
vec: PhantomData<&'a mut Vec<T>> vec: PhantomData<&'a mut Vec<T>>,
start: *const T, start: *const T,
end: *const T, end: *const T,
} }

Loading…
Cancel
Save