We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e0857 commit 9186812Copy full SHA for 9186812
tests/run-pass/fs.rs
@@ -93,7 +93,7 @@ fn main() {
93
rename(&path1, &path2).unwrap();
94
assert_eq!(ErrorKind::NotFound, path1.metadata().unwrap_err().kind());
95
assert!(path2.metadata().unwrap().is_file());
96
- remove_file(&path2).ok();
+ remove_file(&path2).unwrap();
97
98
// The two following tests also check that the `__errno_location()` shim is working properly.
99
// Opening a non-existing file should fail with a "not found" error.
0 commit comments