Update core for latest nightly.

Fixes #643.
This commit is contained in:
jeb 2018-05-19 10:33:13 -06:00 committed by Sergio Benitez
parent f1fd1f8645
commit ff5db84111
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ impl<'h> HeaderMap<'h> {
pub fn iter<'s>(&'s self) -> impl Iterator<Item=Header<'s>> {
self.headers.iter().flat_map(|(key, values)| {
values.iter().map(move |val| {
Header::new(key.as_str(), val.borrow())
Header::new(key.as_str(), &**val)
})
})
}