Skip to content

Commit 0aef28d

Browse files
committed
De-capitalize "note" to get rid of spurious tidy warnings
1 parent ad3506b commit 0aef28d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/libcore/task/local_data_priv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extern fn cleanup_task_local_map(map_ptr: *libc::c_void) {
5959
unsafe fn get_task_local_map(task: *rust_task) -> TaskLocalMap {
6060

6161
// Relies on the runtime initialising the pointer to null.
62-
// NOTE: The map's box lives in TLS invisibly referenced once. Each time
62+
// Note: The map's box lives in TLS invisibly referenced once. Each time
6363
// we retrieve it for get/set, we make another reference, which get/set
6464
// drop when they finish. No "re-storing after modifying" is needed.
6565
let map_ptr = rt::rust_get_task_local_data(task);

src/libstd/getopts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ mod tests {
12951295
let sample_args = ~[~"-k", ~"15", ~"--apple", ~"1", ~"k",
12961296
~"-p", ~"16", ~"l", ~"35"];
12971297
1298-
// NOTE: we should sort before comparing
1298+
// FIXME #4681: sort options here?
12991299
assert getopts(sample_args, short)
13001300
== groups::getopts(sample_args, verbose);
13011301
}

src/libsyntax/ext/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub fn expand_syntax_ext(cx: ext_ctxt, sp: span, tts: ~[ast::token_tree])
5050
// FIXME (#2249): A lot of these functions for producing expressions can
5151
// probably be factored out in common with other code that builds
5252
// expressions. Also: Cleanup the naming of these functions.
53-
// NOTE: Moved many of the common ones to build.rs --kevina
53+
// Note: Moved many of the common ones to build.rs --kevina
5454
fn pieces_to_expr(cx: ext_ctxt, sp: span,
5555
pieces: ~[Piece], args: ~[@ast::expr])
5656
-> @ast::expr {

0 commit comments

Comments
 (0)