about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2016-10-20 18:09:52 -0700
committerRaph Levien <raph@google.com>2016-10-22 07:08:07 -0700
commit69d7884a1d464b73a95c95e04e8d8d159cf61937 (patch)
treedd04f44fa18f4a78904a5c97be592b1d03a5f326
parent773a5f59e936230e243fee275655c7266ed6d4f2 (diff)
downloadrust-69d7884a1d464b73a95c95e04e8d8d159cf61937.tar.gz
rust-69d7884a1d464b73a95c95e04e8d8d159cf61937.zip
Fix tidy warning
Prefer FIXME to TODO
-rw-r--r--src/librustc_back/target/fuchsia_base.rs2
-rw-r--r--src/libstd/sys/unix/thread.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_back/target/fuchsia_base.rs b/src/librustc_back/target/fuchsia_base.rs
index e763d6d8fba..69546684cb7 100644
--- a/src/librustc_back/target/fuchsia_base.rs
+++ b/src/librustc_back/target/fuchsia_base.rs
@@ -25,7 +25,7 @@ pub fn opts() -> TargetOptions {
             // resolutions the linker does). This option only applies to all
             // following libraries so we're sure to pass it as one of the first
             // arguments.
-            // TODO: doesn't seem to be supported by clang toolchain
+            // FIXME: figure out whether these linker args are desirable
             //"-Wl,--as-needed".to_string(),
 
             // Always enable NX protection when it is available
diff --git a/src/libstd/sys/unix/thread.rs b/src/libstd/sys/unix/thread.rs
index df98d2e0169..1642baa34d6 100644
--- a/src/libstd/sys/unix/thread.rs
+++ b/src/libstd/sys/unix/thread.rs
@@ -137,7 +137,7 @@ impl Thread {
     }
     #[cfg(target_os = "fuchsia")]
     pub fn set_name(_name: &CStr) {
-        // TODO: determine whether Fuchsia has a way to set a thread name.
+        // FIXME: determine whether Fuchsia has a way to set a thread name.
     }
 
     pub fn sleep(dur: Duration) {