Skip to content

Commit 1386ad4

Browse files
author
Dave Huseby
committed
fixing trailing whitespace errors
1 parent cd8f317 commit 1386ad4

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

src/librustdoc/flock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ mod imp {
6464
pub const F_SETLKW: libc::c_int = 13;
6565
}
6666

67-
#[cfg(any(target_os = "dragonfly",
67+
#[cfg(any(target_os = "dragonfly",
6868
target_os = "bitrig",
6969
target_os = "openbsd"))]
7070
mod os {

src/libstd/rtdeps.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extern {}
3939
#[link(name = "pthread")]
4040
extern {}
4141

42-
#[cfg(any(target_os = "dragonfly",
42+
#[cfg(any(target_os = "dragonfly",
4343
target_os = "bitrig",
4444
target_os = "openbsd"))]
4545
#[link(name = "pthread")]

src/libstd/sys/unix/fs.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,29 +292,29 @@ fn mkstat(stat: &libc::stat) -> FileStat {
292292
fn mktime(secs: u64, nsecs: u64) -> u64 { secs * 1000 + nsecs / 1000000 }
293293

294294
#[cfg(target_os = "bitrig")]
295-
fn ctime(stat: &libc::stat) -> u64 {
295+
fn ctime(stat: &libc::stat) -> u64 {
296296
mktime(stat.st_ctim.tv_sec as u64, stat.st_ctim.tv_nsec as u64)
297297
}
298298
#[cfg(not(target_os = "bitrig"))]
299-
fn ctime(stat: &libc::stat) -> u64 {
299+
fn ctime(stat: &libc::stat) -> u64 {
300300
mktime(stat.st_ctime as u64, stat.st_ctime_nsec as u64)
301301
}
302302

303303
#[cfg(target_os = "bitrig")]
304-
fn atime(stat: &libc::stat) -> u64 {
304+
fn atime(stat: &libc::stat) -> u64 {
305305
mktime(stat.st_atim.tv_sec as u64, stat.st_atim.tv_nsec as u64)
306306
}
307307
#[cfg(not(target_os = "bitrig"))]
308-
fn atime(stat: &libc::stat) -> u64 {
308+
fn atime(stat: &libc::stat) -> u64 {
309309
mktime(stat.st_atime as u64, stat.st_atime_nsec as u64)
310310
}
311311

312312
#[cfg(target_os = "bitrig")]
313-
fn mtime(stat: &libc::stat) -> u64 {
313+
fn mtime(stat: &libc::stat) -> u64 {
314314
mktime(stat.st_mtim.tv_sec as u64, stat.st_mtim.tv_nsec as u64)
315315
}
316316
#[cfg(not(target_os = "bitrig"))]
317-
fn mtime(stat: &libc::stat) -> u64 {
317+
fn mtime(stat: &libc::stat) -> u64 {
318318
mktime(stat.st_mtime as u64, stat.st_mtime_nsec as u64)
319319
}
320320

src/libstd/sys/unix/stack_overflow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ mod imp {
206206

207207
}
208208

209-
#[cfg(any(target_os = "macos",
209+
#[cfg(any(target_os = "macos",
210210
target_os = "bitrig",
211211
target_os = "openbsd"))]
212212
mod signal {

src/libstd/sys/unix/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub mod guard {
7474
static mut PAGE_SIZE: uint = 0;
7575
static mut GUARD_PAGE: uint = 0;
7676

77-
#[cfg(any(target_os = "macos",
77+
#[cfg(any(target_os = "macos",
7878
target_os = "bitrig",
7979
target_os = "openbsd"))]
8080
unsafe fn get_stack_start() -> *mut libc::c_void {

src/libstd/sys/unix/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ mod inner {
8282
// Apparently android provides this in some other library?
8383
// Bitrig's RT extensions are in the C library, not a separate librt
8484
// OpenBSD provide it via libc
85-
#[cfg(not(any(target_os = "android",
85+
#[cfg(not(any(target_os = "android",
8686
target_os = "bitrig",
8787
target_os = "openbsd")))]
8888
#[link(name = "rt")]

0 commit comments

Comments
 (0)