sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs
This commit is contained in:
@@ -233,7 +233,7 @@ impl MacResult for MacItems {
|
||||
|
||||
/// Fill-in macro expansion result, to allow compilation to continue
|
||||
/// after hitting errors.
|
||||
#[deriving(Copy)]
|
||||
#[derive(Copy)]
|
||||
pub struct DummyResult {
|
||||
expr_only: bool,
|
||||
span: Span
|
||||
@@ -311,7 +311,7 @@ pub enum SyntaxExtension {
|
||||
/// A syntax extension that is attached to an item and creates new items
|
||||
/// based upon it.
|
||||
///
|
||||
/// `#[deriving(...)]` is an `ItemDecorator`.
|
||||
/// `#[derive(...)]` is an `ItemDecorator`.
|
||||
Decorator(Box<ItemDecorator + 'static>),
|
||||
|
||||
/// A syntax extension that is attached to an item and modifies it
|
||||
|
||||
Reference in New Issue
Block a user