mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 09:53:26 +00:00
rustc: Comments only: change XXX to FIXME
This commit is contained in:
parent
52d3f5558e
commit
aac73b24ae
@ -95,7 +95,7 @@ fn traverse_public_mod(cx: &ctx, mod_id: node_id, m: &_mod) {
|
||||
}
|
||||
|
||||
fn traverse_public_item(cx: &ctx, item: @item) {
|
||||
// XXX: it shouldn't be necessary to do this
|
||||
// FIXME #6021: naming rmap shouldn't be necessary
|
||||
let rmap: &mut HashSet<node_id> = cx.rmap;
|
||||
if rmap.contains(&item.id) { return; }
|
||||
rmap.insert(item.id);
|
||||
@ -150,7 +150,7 @@ fn traverse_public_item(cx: &ctx, item: @item) {
|
||||
}
|
||||
|
||||
fn traverse_ty<'a, 'b>(ty: @Ty, cx: &'b ctx<'a>, v: visit::vt<&'b ctx<'a>>) {
|
||||
// XXX: it shouldn't be necessary to do this
|
||||
// FIXME #6021: naming rmap shouldn't be necessary
|
||||
let rmap: &mut HashSet<node_id> = cx.rmap;
|
||||
if rmap.contains(&ty.id) { return; }
|
||||
rmap.insert(ty.id);
|
||||
|
Loading…
Reference in New Issue
Block a user