Skip to content

Commit de78419

Browse files
committed
rollup merge of #20581: apasel422/extend
2 parents b244319 + 61bb6ac commit de78419

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/collections/hash/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ impl<K: Eq + Hash<S>, V, S, H: Hasher<S> + Default> FromIterator<(K, V)> for Has
14821482
}
14831483

14841484
#[stable]
1485-
impl<K: Eq + Hash<S>, V, S, H: Hasher<S> + Default> Extend<(K, V)> for HashMap<K, V, H> {
1485+
impl<K: Eq + Hash<S>, V, S, H: Hasher<S>> Extend<(K, V)> for HashMap<K, V, H> {
14861486
fn extend<T: Iterator<Item=(K, V)>>(&mut self, mut iter: T) {
14871487
for (k, v) in iter {
14881488
self.insert(k, v);

src/libstd/collections/hash/set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ impl<T: Eq + Hash<S>, S, H: Hasher<S> + Default> FromIterator<T> for HashSet<T,
605605
}
606606

607607
#[stable]
608-
impl<T: Eq + Hash<S>, S, H: Hasher<S> + Default> Extend<T> for HashSet<T, H> {
608+
impl<T: Eq + Hash<S>, S, H: Hasher<S>> Extend<T> for HashSet<T, H> {
609609
fn extend<I: Iterator<Item=T>>(&mut self, mut iter: I) {
610610
for k in iter {
611611
self.insert(k);

0 commit comments

Comments
 (0)