Merge pull request #118 from hyperium/headers-clone
make Headers implement Clone
This commit is contained in:
@@ -44,6 +44,7 @@ fn bench_curl(b: &mut test::Bencher) {
|
||||
listening.close().unwrap()
|
||||
}
|
||||
|
||||
#[deriving(Clone)]
|
||||
struct Foo;
|
||||
|
||||
impl hyper::header::Header for Foo {
|
||||
|
||||
@@ -68,6 +68,7 @@ fn bench_mock_curl(b: &mut test::Bencher) {
|
||||
});
|
||||
}
|
||||
|
||||
#[deriving(Clone)]
|
||||
struct Foo;
|
||||
|
||||
impl hyper::header::Header for Foo {
|
||||
|
||||
Reference in New Issue
Block a user