about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2016-04-06 05:40:59 +0000
committerAlan Somers <asomers@gmail.com>2016-04-06 05:40:59 +0000
commit78ea972b9ff4a2c3eaa0328f6fa8e7038e8ca9d1 (patch)
treea712fcc19e3078911851dbbbada5b18efda20959 /src/libstd/sys
parent1e9ffb899195291c6682c244f2d485b6121a7dc4 (diff)
downloadrust-78ea972b9ff4a2c3eaa0328f6fa8e7038e8ca9d1.tar.gz
rust-78ea972b9ff4a2c3eaa0328f6fa8e7038e8ca9d1.zip
Remove accidental comment
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/unix/thread.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/thread.rs b/src/libstd/sys/unix/thread.rs
index 4b0201cfd01..cb34d1a5fbc 100644
--- a/src/libstd/sys/unix/thread.rs
+++ b/src/libstd/sys/unix/thread.rs
@@ -304,7 +304,6 @@ pub mod guard {
         #[cfg(not(target_os = "freebsd"))]
             let e = libc::pthread_getattr_np(libc::pthread_self(), &mut attr);
         if e == 0 {
-        //if libc::pthread_getattr_np(libc::pthread_self(), &mut attr) == 0 {
             let mut guardsize = 0;
             assert_eq!(libc::pthread_attr_getguardsize(&attr, &mut guardsize), 0);
             if guardsize == 0 {