Skip to content

Commit af218d6

Browse files
committed
Removing do keyword from librustdoc
1 parent 1d80a9a commit af218d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ fn rust_input(cratefile: &str, matches: &getopts::Matches) -> Output {
211211
let cfgs = matches.opt_strs("cfg");
212212
let cr = Path::new(cratefile);
213213
info!("starting to run rustc");
214-
let (crate, analysis) = do std::task::try {
214+
let (crate, analysis) = std::task::try(proc() {
215215
let cr = cr;
216216
core::run_core(libs.move_iter().collect(), cfgs, &cr)
217-
}.unwrap();
217+
}).unwrap();
218218
info!("finished with rustc");
219219
local_data::set(analysiskey, analysis);
220220

0 commit comments

Comments
 (0)