Get rid of some NOTEs.

This commit is contained in:
Michael Sullivan
2013-07-30 16:47:22 -07:00
parent fd01031f3a
commit 7dbc5ae79f
3 changed files with 2 additions and 3 deletions

View File

@@ -11,7 +11,6 @@
#[crate_type = "bin"]; #[crate_type = "bin"];
#[allow(non_camel_case_types)]; #[allow(non_camel_case_types)];
#[allow(unrecognized_lint)]; // NOTE: remove after snapshot
#[deny(warnings)]; #[deny(warnings)];
extern mod extra; extern mod extra;

View File

@@ -225,7 +225,7 @@ impl CFGBuilder {
// Note that `break` and `loop` statements // Note that `break` and `loop` statements
// may cause additional edges. // may cause additional edges.
// NOTE: Is the condition considered part of the loop? // Is the condition considered part of the loop?
let loopback = self.add_dummy_node([pred]); // 1 let loopback = self.add_dummy_node([pred]); // 1
let cond_exit = self.expr(cond, loopback); // 2 let cond_exit = self.expr(cond, loopback); // 2
let expr_exit = self.add_node(expr.id, [cond_exit]); // 3 let expr_exit = self.add_node(expr.id, [cond_exit]); // 3

View File

@@ -10,7 +10,7 @@
//! Some various other I/O types //! Some various other I/O types
// NOTE: These ultimately belong somewhere else // FIXME(#3660): should move to libextra
use prelude::*; use prelude::*;
use super::*; use super::*;