Skip to content

Commit f5f5e1c

Browse files
committed
fix(headers): fix broken deserialization of headers
Sorry about that!
1 parent aaf7995 commit f5f5e1c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/header/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,7 @@ impl Deserialize for Headers {
382382
}
383383
}
384384

385-
let result = Headers::new();
386-
try!(deserializer.visit_map(HeadersVisitor));
387-
Ok(result)
385+
deserializer.visit_map(HeadersVisitor)
388386
}
389387
}
390388

0 commit comments

Comments
 (0)