#[deriving] -> #[derive]
This commit is contained in:
@@ -46,7 +46,7 @@ fn bench_curl(b: &mut test::Bencher) {
|
||||
listening.close().unwrap();
|
||||
}
|
||||
|
||||
#[deriving(Clone)]
|
||||
#[derive(Clone)]
|
||||
struct Foo;
|
||||
|
||||
impl hyper::header::Header for Foo {
|
||||
|
||||
@@ -65,7 +65,7 @@ fn bench_mock_curl(b: &mut test::Bencher) {
|
||||
});
|
||||
}
|
||||
|
||||
#[deriving(Clone)]
|
||||
#[derive(Clone)]
|
||||
struct Foo;
|
||||
|
||||
impl hyper::header::Header for Foo {
|
||||
|
||||
Reference in New Issue
Block a user