Improve searching for XXX in tidy script (#3303)

Few places where previous version of tidy script cannot find XXX:
* inside one-line comment preceding by a few spaces;
* inside multiline comments (now it finds it if multiline comment starts
on the same line with XXX).

Change occurences of XXX found by new tidy script.
This commit is contained in:
Boris Egorov 2014-04-07 19:01:10 +07:00 committed by Alex Crichton
parent de2567dec9
commit 00cbda2d0a
4 changed files with 7 additions and 6 deletions

View file

@ -15,7 +15,7 @@ use std::os;
fn start(n_tasks: int, token: int) {
let (tx, mut rx) = channel();
tx.send(token);
// XXX could not get this to work with a range closure
// FIXME could not get this to work with a range closure
let mut i = 2;
while i <= n_tasks {
let (tx, next_rx) = channel();