Skip to content

Commit

Permalink
compilation fix
Browse files Browse the repository at this point in the history
compilation fix for rust version "rustc 0.13.0-nightly (7608dbad6 2014-12-31 10:06:21 -0800)"
  • Loading branch information
AndreyG authored and Andrey Davydov committed Jan 1, 2015
1 parent cef1643 commit 4a76962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/header/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::intrinsics::TypeId;
use std::raw::TraitObject;
use std::str::{SendStr, FromStr};
use std::collections::HashMap;
use std::collections::hash_map::{Entries, Entry};
use std::collections::hash_map::{Iter, Entry};
use std::{hash, mem};

use mucell::MuCell;
Expand Down Expand Up @@ -272,7 +272,7 @@ impl fmt::Show for Headers {

/// An `Iterator` over the fields in a `Headers` map.
pub struct HeadersItems<'a> {
inner: Entries<'a, CaseInsensitive, MuCell<Item>>
inner: Iter<'a, CaseInsensitive, MuCell<Item>>
}

impl<'a> Iterator<HeaderView<'a>> for HeadersItems<'a> {
Expand Down

0 comments on commit 4a76962

Please sign in to comment.