make Headers implement Clone

This commit is contained in:
Sean McArthur
2014-11-14 09:44:26 -08:00
parent 35336c770e
commit 14d3209a72
4 changed files with 24 additions and 2 deletions

View File

@@ -68,6 +68,7 @@ fn bench_mock_curl(b: &mut test::Bencher) {
});
}
#[deriving(Clone)]
struct Foo;
impl hyper::header::Header for Foo {