We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 284d498 commit 1bfeb4aCopy full SHA for 1bfeb4a
src/lib.rs
@@ -224,7 +224,7 @@
224
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
225
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
226
html_root_url = "http://doc.rust-lang.org/rand/")]
227
-#![feature(core, io, step_by)]
+#![feature(step_by)]
228
229
#![cfg_attr(test, feature(test))]
230
src/read.rs
@@ -68,7 +68,7 @@ fn fill(r: &mut Read, mut buf: &mut [u8]) -> io::Result<()> {
68
while buf.len() > 0 {
69
match try!(r.read(buf)) {
70
0 => return Err(io::Error::new(io::ErrorKind::Other,
71
- "end of file reached", None)),
+ "end of file reached")),
72
n => buf = &mut mem::replace(&mut buf, &mut [])[n..],
73
}
74
0 commit comments