Skip to content

Commit

Permalink
Merge pull request #49 from kmcallister/rustup
Browse files Browse the repository at this point in the history
Upgrade to rustc 1.0.0-nightly (6c065fc8c 2015-02-17) (built 2015-02-18)
  • Loading branch information
sfackler committed Feb 19, 2015
2 parents 044f690 + cbd9a41 commit ee54b59
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions phf/src/map.rs
Expand Up @@ -130,6 +130,7 @@ impl<K, V> Map<K, V> {
}

impl<'a, K, V> IntoIterator for &'a Map<K, V> {
type Item = (&'a K, &'a V);
type IntoIter = Entries<'a, K, V>;

fn into_iter(self) -> Entries<'a, K, V> {
Expand Down
1 change: 1 addition & 0 deletions phf/src/ordered_map.rs
Expand Up @@ -149,6 +149,7 @@ impl<K, V> OrderedMap<K, V> {
}

impl<'a, K, V> IntoIterator for &'a OrderedMap<K, V> {
type Item = (&'a K, &'a V);
type IntoIter = Entries<'a, K, V>;

fn into_iter(self) -> Entries<'a, K, V> {
Expand Down
1 change: 1 addition & 0 deletions phf/src/ordered_set.rs
Expand Up @@ -112,6 +112,7 @@ impl<T> OrderedSet<T> where T: Eq + PhfHash {
}

impl<'a, T> IntoIterator for &'a OrderedSet<T> {
type Item = &'a T;
type IntoIter = Iter<'a, T>;

fn into_iter(self) -> Iter<'a, T> {
Expand Down
1 change: 1 addition & 0 deletions phf/src/set.rs
Expand Up @@ -101,6 +101,7 @@ impl<T> Set<T> where T: Eq + PhfHash {
}

impl<'a, T> IntoIterator for &'a Set<T> {
type Item = &'a T;
type IntoIter = Iter<'a, T>;

fn into_iter(self) -> Iter<'a, T> {
Expand Down

0 comments on commit ee54b59

Please sign in to comment.