Skip to content

Commit

Permalink
Fix for upstream changse
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Feb 11, 2015
1 parent 271e784 commit 9bd8705
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 16 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -25,9 +25,8 @@ Example

```rust
#![feature(plugin)]
#![plugin(phf_macros)]

#[plugin] #[no_link]
extern crate phf_macros;
extern crate phf;

#[derive(Clone)]
Expand Down
6 changes: 3 additions & 3 deletions phf/src/map.rs
Expand Up @@ -14,9 +14,9 @@ use phf_shared;
///
/// ```rust
/// #![feature(plugin)]
/// #![plugin(phf_macros)]
///
/// extern crate phf;
/// #[plugin] #[no_link]
/// extern crate phf_macros;
///
/// static MY_MAP: phf::Map<&'static str, isize> = phf_map! {
/// "hello" => 10,
Expand Down Expand Up @@ -130,7 +130,7 @@ impl<K, V> Map<K, V> {
}

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

fn into_iter(self) -> Entries<'a, K, V> {
self.entries()
Expand Down
6 changes: 3 additions & 3 deletions phf/src/ordered_map.rs
Expand Up @@ -18,9 +18,9 @@ use phf_shared;
///
/// ```rust
/// #![feature(plugin)]
/// #![plugin(phf_macros)]
///
/// extern crate phf;
/// #[plugin] #[no_link]
/// extern crate phf_macros;
///
/// static MY_MAP: phf::OrderedMap<&'static str, isize> = phf_ordered_map! {
/// "hello" => 10,
Expand Down Expand Up @@ -149,7 +149,7 @@ impl<K, V> OrderedMap<K, V> {
}

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

fn into_iter(self) -> Entries<'a, K, V> {
self.entries()
Expand Down
6 changes: 3 additions & 3 deletions phf/src/ordered_set.rs
Expand Up @@ -15,9 +15,9 @@ use {PhfHash, OrderedMap};
///
/// ```rust
/// #![feature(plugin)]
/// #![plugin(phf_macros)]
///
/// extern crate phf;
/// #[plugin] #[no_link]
/// extern crate phf_macros;
///
/// static MY_SET: phf::OrderedSet<&'static str> = phf_ordered_set! {
/// "hello",
Expand Down Expand Up @@ -112,7 +112,7 @@ impl<T> OrderedSet<T> where T: Eq + PhfHash {
}

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

fn into_iter(self) -> Iter<'a, T> {
self.iter()
Expand Down
6 changes: 3 additions & 3 deletions phf/src/set.rs
Expand Up @@ -14,9 +14,9 @@ use Map;
///
/// ```rust
/// #![feature(plugin)]
/// #![plugin(phf_macros)]
///
/// extern crate phf;
/// #[plugin] #[no_link]
/// extern crate phf_macros;
///
/// static MY_SET: phf::Set<&'static str> = phf_set! {
/// "hello",
Expand Down Expand Up @@ -101,7 +101,7 @@ impl<T> Set<T> where T: Eq + PhfHash {
}

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

fn into_iter(self) -> Iter<'a, T> {
self.iter()
Expand Down
3 changes: 1 addition & 2 deletions phf/tests/test.rs
@@ -1,7 +1,6 @@
#![feature(plugin, core)]
#![plugin(phf_macros)]

#[plugin] #[no_link]
extern crate phf_macros;
extern crate phf;

mod map {
Expand Down

0 comments on commit 9bd8705

Please sign in to comment.