From 4abc471390d897e97e07eafcb723a8dcb59c520f Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Fri, 12 Aug 2011 06:36:51 -0700 Subject: Port the compiler to foo decl syntax. --- src/comp/driver/rustc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/driver') diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index 8bd185bb9d4..b2ae862dc74 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -110,7 +110,7 @@ fn parse_input_src(sess: session::session, cfg: &ast::crate_cfg, ret {crate: crate, src: src}; } -fn time[T](do_it: bool, what: str, thunk: fn() -> T ) -> T { +fn time(do_it: bool, what: str, thunk: fn() -> T ) -> T { if !do_it { ret thunk(); } let start = std::time::precise_time_s(); let rv = thunk(); -- cgit 1.4.1-3-g733a5