File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
10
10
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
11
11
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
12
12
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13
- refs/heads/auto: b877b77f1363c6e8bb8b9cc11c600ecb17a2fcc9
13
+ refs/heads/auto: e4a74616bf32068a77d76cc2591b3969ea884b9f
14
14
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
15
15
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
16
16
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ impl IoError {
353
353
/// operating system) between the call(s) for which errors are
354
354
/// being checked and the call of this function.
355
355
pub fn last_error ( ) -> IoError {
356
- IoError :: from_errno ( os:: errno ( ) as i32 , true )
356
+ IoError :: from_errno ( os:: errno ( ) , true )
357
357
}
358
358
}
359
359
Original file line number Diff line number Diff line change @@ -527,12 +527,12 @@ pub fn errno() -> i32 {
527
527
/// println!("{}", os::error_string(os::errno() as i32));
528
528
/// ```
529
529
pub fn error_string ( errnum : i32 ) -> String {
530
- return sys:: os:: error_string ( errnum as i32 ) ;
530
+ return sys:: os:: error_string ( errnum) ;
531
531
}
532
532
533
533
/// Get a string representing the platform-dependent last error
534
534
pub fn last_os_error ( ) -> String {
535
- error_string ( errno ( ) as i32 )
535
+ error_string ( errno ( ) )
536
536
}
537
537
538
538
/// Sets the process exit code
You can’t perform that action at this time.
0 commit comments