update benches with trait splits

This commit is contained in:
Sean McArthur
2014-10-31 16:00:34 -07:00
parent f117ebe367
commit 4dd1fc5642
2 changed files with 11 additions and 3 deletions

View File

@@ -55,6 +55,9 @@ impl hyper::header::Header for Foo {
fn parse_header(_: &[Vec<u8>]) -> Option<Foo> {
None
}
}
impl hyper::header::HeaderFormat for Foo {
fn fmt_header(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
"Bar".fmt(fmt)
}