compilation fix
compilation fix for rust version "rustc 0.13.0-nightly (7608dbad6 2014-12-31 10:06:21 -0800)"
This commit is contained in:
committed by
Andrey Davydov
parent
cef16431aa
commit
4a7696280f
@@ -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;
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user