Skip to content

Commit b1908a1

Browse files
authored
Merge pull request #41 from hrls/patch-1
Update vec-drain.md
2 parents 1625e0b + e45316f commit b1908a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vec-drain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ struct Drain<'a, T: 'a> {
1111
// Need to bound the lifetime here, so we do it with `&'a mut Vec<T>`
1212
// because that's semantically what we contain. We're "just" calling
1313
// `pop()` and `remove(0)`.
14-
vec: PhantomData<&'a mut Vec<T>>
14+
vec: PhantomData<&'a mut Vec<T>>,
1515
start: *const T,
1616
end: *const T,
1717
}

0 commit comments

Comments
 (0)