We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7b1215 commit 48ab234Copy full SHA for 48ab234
src/pemfile.rs
@@ -225,10 +225,7 @@ fn read_one_impl(
225
// Ported from https://github.com/rust-lang/rust/blob/91cfcb021935853caa06698b759c293c09d1e96a/library/std/src/io/mod.rs#L1990 and
226
// modified to look for our accepted newlines.
227
#[cfg(feature = "std")]
228
-fn read_until_newline<R: io::BufRead + ?Sized>(
229
- r: &mut R,
230
- buf: &mut Vec<u8>,
231
-) -> std::io::Result<usize> {
+fn read_until_newline<R: io::BufRead + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> io::Result<usize> {
232
let mut read = 0;
233
loop {
234
let (done, used) = {
0 commit comments