Skip to content

Commit ed98ee8

Browse files
committed
---
yaml --- r: 181087 b: refs/heads/auto c: e4a7461 h: refs/heads/master i: 181085: 512e625 181083: 934b3e8 181079: 3cf9dca 181071: 42deb13 181055: 1140d00 v: v3
1 parent f3ab591 commit ed98ee8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: b877b77f1363c6e8bb8b9cc11c600ecb17a2fcc9
13+
refs/heads/auto: e4a74616bf32068a77d76cc2591b3969ea884b9f
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/libstd/old_io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ impl IoError {
353353
/// operating system) between the call(s) for which errors are
354354
/// being checked and the call of this function.
355355
pub fn last_error() -> IoError {
356-
IoError::from_errno(os::errno() as i32, true)
356+
IoError::from_errno(os::errno(), true)
357357
}
358358
}
359359

branches/auto/src/libstd/os.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,12 +527,12 @@ pub fn errno() -> i32 {
527527
/// println!("{}", os::error_string(os::errno() as i32));
528528
/// ```
529529
pub fn error_string(errnum: i32) -> String {
530-
return sys::os::error_string(errnum as i32);
530+
return sys::os::error_string(errnum);
531531
}
532532

533533
/// Get a string representing the platform-dependent last error
534534
pub fn last_os_error() -> String {
535-
error_string(errno() as i32)
535+
error_string(errno())
536536
}
537537

538538
/// Sets the process exit code

0 commit comments

Comments
 (0)