Skip to content

Commit e7e970a

Browse files
committed
Support std::iter::extend<T> for VecLike<T>
1 parent 7e07fc0 commit e7e970a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ pub trait VecLike<T>:
3030
ops::Index<ops::RangeFull, Output=[T]> +
3131
ops::IndexMut<ops::RangeFull> +
3232
ops::Deref +
33-
ops::DerefMut {
33+
ops::DerefMut +
34+
Extend<T> {
3435

3536
fn len(&self) -> usize;
3637
fn push(&mut self, value: T);

0 commit comments

Comments
 (0)