De-capitalize "note" to get rid of spurious tidy warnings

This commit is contained in:
Tim Chevalier 2013-01-29 16:18:59 -08:00
parent ad3506bd1e
commit 0aef28dd6d
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ extern fn cleanup_task_local_map(map_ptr: *libc::c_void) {
unsafe fn get_task_local_map(task: *rust_task) -> TaskLocalMap {
// Relies on the runtime initialising the pointer to null.
// NOTE: The map's box lives in TLS invisibly referenced once. Each time
// Note: The map's box lives in TLS invisibly referenced once. Each time
// we retrieve it for get/set, we make another reference, which get/set
// drop when they finish. No "re-storing after modifying" is needed.
let map_ptr = rt::rust_get_task_local_data(task);

View File

@ -1295,7 +1295,7 @@ mod tests {
let sample_args = ~[~"-k", ~"15", ~"--apple", ~"1", ~"k",
~"-p", ~"16", ~"l", ~"35"];
// NOTE: we should sort before comparing
// FIXME #4681: sort options here?
assert getopts(sample_args, short)
== groups::getopts(sample_args, verbose);
}

View File

@ -50,7 +50,7 @@ pub fn expand_syntax_ext(cx: ext_ctxt, sp: span, tts: ~[ast::token_tree])
// FIXME (#2249): A lot of these functions for producing expressions can
// probably be factored out in common with other code that builds
// expressions. Also: Cleanup the naming of these functions.
// NOTE: Moved many of the common ones to build.rs --kevina
// Note: Moved many of the common ones to build.rs --kevina
fn pieces_to_expr(cx: ext_ctxt, sp: span,
pieces: ~[Piece], args: ~[@ast::expr])
-> @ast::expr {