Skip to content

Commit d76a3de

Browse files
authored
Merge pull request #605 from brunogouveia/hash-map-set-into-iter
Added Allocator template argument for rustc_iter
2 parents 16044fe + d615baf commit d76a3de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rustc_entry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,15 +550,15 @@ impl<K, V> IterMut<'_, K, V> {
550550
}
551551
}
552552

553-
impl<K, V> IntoIter<K, V> {
553+
impl<K, V, A: Allocator> IntoIter<K, V, A> {
554554
/// Returns a iterator of references over the remaining items.
555555
#[cfg_attr(feature = "inline-more", inline)]
556556
pub fn rustc_iter(&self) -> Iter<'_, K, V> {
557557
self.iter()
558558
}
559559
}
560560

561-
impl<K, V> Drain<'_, K, V> {
561+
impl<K, V, A: Allocator> Drain<'_, K, V, A> {
562562
/// Returns a iterator of references over the remaining items.
563563
#[cfg_attr(feature = "inline-more", inline)]
564564
pub fn rustc_iter(&self) -> Iter<'_, K, V> {

0 commit comments

Comments
 (0)