Skip to content

Commit e7c9155

Browse files
committed
Update for stabilized io::Error
As per rust-lang/rust#23919, the last argument was removed from Error::new. Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 65ac84e commit e7c9155

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(convert, io)]
1211
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
1312
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
1413
html_root_url = "http://doc.rust-lang.org/tempdir/")]
@@ -74,8 +73,7 @@ impl TempDir {
7473
}
7574

7675
Err(Error::new(ErrorKind::AlreadyExists,
77-
"too many temporary directories already exist",
78-
None))
76+
"too many temporary directories already exist"))
7977
}
8078

8179
/// Attempts to make a temporary directory inside of `env::temp_dir()` whose

0 commit comments

Comments
 (0)