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

@@ -14,7 +14,7 @@ use std::fmt;
use std::string::String;
/// A (recursive) table of contents
#[deriving(PartialEq)]
#[derive(PartialEq)]
pub struct Toc {
/// The levels are strictly decreasing, i.e.
///
@@ -38,7 +38,7 @@ impl Toc {
}
}
#[deriving(PartialEq)]
#[derive(PartialEq)]
pub struct TocEntry {
level: u32,
sec_number: String,
@@ -48,7 +48,7 @@ pub struct TocEntry {
}
/// Progressive construction of a table of contents.
#[deriving(PartialEq)]
#[derive(PartialEq)]
pub struct TocBuilder {
top_level: Toc,
/// The current hierarchy of parent headings, the levels are