]> git.lizzy.rs Git - rust.git/commitdiff
fixing trailing whitespace errors
authorDave Huseby <dhuseby@mozilla.com>
Thu, 5 Feb 2015 07:53:02 +0000 (23:53 -0800)
committerDave Huseby <dhuseby@mozilla.com>
Wed, 11 Feb 2015 22:49:07 +0000 (14:49 -0800)
src/librustdoc/flock.rs
src/libstd/rtdeps.rs
src/libstd/sys/unix/fs.rs
src/libstd/sys/unix/stack_overflow.rs
src/libstd/sys/unix/thread.rs
src/libstd/sys/unix/time.rs

index 099be92374d3a9cfabb75740c44a531f61460763..b08e9336fb7cae3b4e513506391c78bcb997f6e2 100644 (file)
@@ -64,7 +64,7 @@ pub struct flock {
         pub const F_SETLKW: libc::c_int = 13;
     }
 
-    #[cfg(any(target_os = "dragonfly", 
+    #[cfg(any(target_os = "dragonfly",
               target_os = "bitrig",
               target_os = "openbsd"))]
     mod os {
index a2f5e8680fd90c1d2129d697cf724aa56289ff51..96c4bcec853dc28d8d687eae95b3b1e64f9f5a22 100644 (file)
@@ -39,7 +39,7 @@
 #[link(name = "pthread")]
 extern {}
 
-#[cfg(any(target_os = "dragonfly", 
+#[cfg(any(target_os = "dragonfly",
           target_os = "bitrig",
           target_os = "openbsd"))]
 #[link(name = "pthread")]
index 9bde7ed9d7e493a0576fb82e520408ef0cb131f1..b53a480f8531cccbb0dacc62e328876d7431f072 100644 (file)
@@ -292,29 +292,29 @@ fn mkstat(stat: &libc::stat) -> FileStat {
     fn mktime(secs: u64, nsecs: u64) -> u64 { secs * 1000 + nsecs / 1000000 }
 
     #[cfg(target_os = "bitrig")]
-    fn ctime(stat: &libc::stat) -> u64 { 
+    fn ctime(stat: &libc::stat) -> u64 {
       mktime(stat.st_ctim.tv_sec as u64, stat.st_ctim.tv_nsec as u64)
     }
     #[cfg(not(target_os = "bitrig"))]
-    fn ctime(stat: &libc::stat) -> u64 { 
+    fn ctime(stat: &libc::stat) -> u64 {
       mktime(stat.st_ctime as u64, stat.st_ctime_nsec as u64) 
     }
 
     #[cfg(target_os = "bitrig")]
-    fn atime(stat: &libc::stat) -> u64 { 
+    fn atime(stat: &libc::stat) -> u64 {
       mktime(stat.st_atim.tv_sec as u64, stat.st_atim.tv_nsec as u64)
     }
     #[cfg(not(target_os = "bitrig"))]
-    fn atime(stat: &libc::stat) -> u64 { 
+    fn atime(stat: &libc::stat) -> u64 {
       mktime(stat.st_atime as u64, stat.st_atime_nsec as u64)
     }
 
     #[cfg(target_os = "bitrig")]
-    fn mtime(stat: &libc::stat) -> u64 { 
+    fn mtime(stat: &libc::stat) -> u64 {
       mktime(stat.st_mtim.tv_sec as u64, stat.st_mtim.tv_nsec as u64)
     }
     #[cfg(not(target_os = "bitrig"))]
-    fn mtime(stat: &libc::stat) -> u64 { 
+    fn mtime(stat: &libc::stat) -> u64 {
       mktime(stat.st_mtime as u64, stat.st_mtime_nsec as u64)
     }
 
index efcb92e482660ef9115aa74a62aba45d64d86b61..04dd36a24abb75aa54958b44cf7cae0ff5b3d746 100644 (file)
@@ -206,7 +206,7 @@ pub struct sigaltstack {
 
     }
 
-    #[cfg(any(target_os = "macos", 
+    #[cfg(any(target_os = "macos",
               target_os = "bitrig",
               target_os = "openbsd"))]
     mod signal {
index 2a9531fa5283f090dfd90a5c79a8dbd7c1c7243d..ae9261d87c6a5975446dcc3a029f1b8f147ca0b3 100644 (file)
@@ -74,7 +74,7 @@ pub mod guard {
     static mut PAGE_SIZE: uint = 0;
     static mut GUARD_PAGE: uint = 0;
 
-    #[cfg(any(target_os = "macos", 
+    #[cfg(any(target_os = "macos",
               target_os = "bitrig",
               target_os = "openbsd"))]
     unsafe fn get_stack_start() -> *mut libc::c_void {
index 7016a700dd82ff94f62fd71cfb71a1e67af8630a..1104bc995c6ea7961e8b2d2a979590b75f3614d5 100644 (file)
@@ -82,7 +82,7 @@ pub struct SteadyTime {
     // Apparently android provides this in some other library?
     // Bitrig's RT extensions are in the C library, not a separate librt
     // OpenBSD provide it via libc
-    #[cfg(not(any(target_os = "android", 
+    #[cfg(not(any(target_os = "android",
                   target_os = "bitrig",
                   target_os = "openbsd")))]
     #[link(name = "rt")]