sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs

This commit is contained in:
Jorge Aparicio
2015-01-03 22:54:18 -05:00
parent 8c5bb80d9b
commit 351409a622
231 changed files with 1115 additions and 1115 deletions

View File

@@ -26,7 +26,7 @@
//! ```
//! use std::default::Default;
//!
//! #[deriving(Default)]
//! #[derive(Default)]
//! struct SomeOptions {
//! foo: int,
//! bar: f32,
@@ -54,7 +54,7 @@
//! fn default() -> Kind { Kind::A }
//! }
//!
//! #[deriving(Default)]
//! #[derive(Default)]
//! struct SomeOptions {
//! foo: int,
//! bar: f32,
@@ -71,7 +71,7 @@
//!
//! ```
//! # use std::default::Default;
//! # #[deriving(Default)]
//! # #[derive(Default)]
//! # struct SomeOptions {
//! # foo: int,
//! # bar: f32,
@@ -86,12 +86,12 @@
/// A trait that types which have a useful default value should implement.
///
/// A struct can derive default implementations of `Default` for basic types using
/// `#[deriving(Default)]`.
/// `#[derive(Default)]`.
///
/// # Examples
///
/// ```
/// #[deriving(Default)]
/// #[derive(Default)]
/// struct SomeOptions {
/// foo: int,
/// bar: f32,