Skip to content

Commit

Permalink
Update to rust master
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Dec 23, 2014
1 parent 0fba837 commit 4a0d48d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion phf/src/map.rs
Expand Up @@ -126,7 +126,7 @@ impl<K, V> Map<K, V> {

/// An iterator over the key/value pairs in a `Map`.
pub struct Entries<'a, K:'a, V:'a> {
iter: slice::Items<'a, (K, V)>,
iter: slice::Iter<'a, (K, V)>,
}

impl<'a, K, V> Iterator<(&'a K, &'a V)> for Entries<'a, K, V> {
Expand Down
2 changes: 1 addition & 1 deletion phf/src/ordered_map.rs
Expand Up @@ -145,7 +145,7 @@ impl<K, V> OrderedMap<K, V> {

/// An iterator over the entries in a `OrderedMap`.
pub struct Entries<'a, K:'a, V:'a> {
iter: slice::Items<'a, (K, V)>,
iter: slice::Iter<'a, (K, V)>,
}

impl<'a, K, V> Iterator<(&'a K, &'a V)> for Entries<'a, K, V> {
Expand Down
2 changes: 1 addition & 1 deletion phf_shared/src/lib.rs
Expand Up @@ -3,7 +3,7 @@
extern crate core;

use core::slice::AsSlice;
use core::str::StrPrelude;
use core::str::StrExt;
use core::hash::Writer;
use core::hash::sip::{mod, SipState};
use core::kinds::Sized;
Expand Down

0 comments on commit 4a0d48d

Please sign in to comment.