Merge pull request #118 from hyperium/headers-clone

make Headers implement Clone
This commit is contained in:
Jonathan Reem
2014-11-21 05:16:38 -08:00
4 changed files with 24 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ fn bench_curl(b: &mut test::Bencher) {
listening.close().unwrap()
}
#[deriving(Clone)]
struct Foo;
impl hyper::header::Header for Foo {

View File

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