#[deriving] -> #[derive]

This commit is contained in:
Jonathan Reem
2015-01-03 13:15:54 +01:00
parent 541e21dbd1
commit 7f3a33f903
32 changed files with 43 additions and 43 deletions

View File

@@ -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 {

View File

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