diff options
Diffstat (limited to 'src/librustdoc/rustdoc.rc')
| -rw-r--r-- | src/librustdoc/rustdoc.rc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustdoc/rustdoc.rc b/src/librustdoc/rustdoc.rc index 4fc68ff802c..1aa1edb61a3 100644 --- a/src/librustdoc/rustdoc.rc +++ b/src/librustdoc/rustdoc.rc @@ -20,7 +20,6 @@ #[crate_type = "lib"]; #[no_core]; -#[legacy_modes]; #[legacy_records]; #[allow(non_implicitly_copyable_typarams)]; @@ -88,7 +87,7 @@ fn main() { } /// Runs rustdoc over the given file -fn run(+config: Config) { +fn run(config: Config) { let source_file = copy config.input_crate; @@ -147,7 +146,7 @@ fn run(+config: Config) { } } -fn time<T>(+what: ~str, f: fn() -> T) -> T { +fn time<T>(what: ~str, f: fn() -> T) -> T { let start = std::time::precise_time_s(); let rv = f(); let end = std::time::precise_time_s(); |
