fn into_iter(self) -> IntoIter<T> {
        fn first<A, B>((a, _): (A, B)) -> A { a }
        let first: fn((T, ())) -> T = first;

        IntoIter { iter: self.map.into_iter().map(first) }
    }
/// Creates a consuming iterator, that is, one that moves each value out
/// of the set in arbitrary order. The set cannot be used after calling
/// this.
///
/// # Examples
///
/// ```
/// use std::collections::HashSet;
/// let mut set = HashSet::new();
/// set.insert("a".to_string());
/// set.insert("b".to_string());
///
/// // Not possible to collect to a Vec<String> with a regular `.iter()`.
/// let v: Vec<String> = set.into_iter().collect();
///
/// // Will print in an arbitrary order.
/// for x in v.iter() {
///     println!("{}", x);
/// }
/// ```
Creates a consuming iterator, that is, one that moves each value out
of the set in arbitrary order. The set cannot be used after calling
this.
Creates a consuming iterator that is one that moves each value out of the set in arbitrary order . The set cannot be used after calling this .
fn into_iter(self) -> IntoIter<T> {
        fn first<A, B>((a, _): (A, B)) -> A { a }
        let first: fn((T, ())) -> T = first;
        IntoIter { iter: self.map.into_iter().map(first) }
    }
fn into_iter ( self ) -> IntoIter < T > { fn first < A , B > ( ( a , _ ) : ( A , B ) ) -> A { a } let first : fn ( ( T , ( ) ) ) -> T = first ; IntoIter { iter : self . map . into_iter ( ) . map ( first ) } }
Creates a consuming iterator, that is, one that moves each value out
of the set in arbitrary order.
Creates a consuming iterator that is one that moves each value out of the set in arbitrary order .
self
examples
```
use std::collections::HashSet;
let mut set = HashSet::new();
set.insert("a".to_string());
set.insert("b".to_string()).

Not possible to collect to a Vec with a regular `.iter()`.
let v: Vec = set.into_iter().collect().

Will print in an arbitrary order.
` ` ` use std :: collections :: HashSet ; let mut set = HashSet :: new () ; set . insert ( " a " . to_string () ) ; set . insert ( " b " . to_string () ) . Not possible to collect to a Vec with a regular ` . iter () ` . let v : Vec = set . into_iter () . collect () . Will print in an arbitrary order .