aboutsummaryrefslogtreecommitdiff
path: root/src/buf_read_iter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/buf_read_iter.rs')
-rw-r--r--src/buf_read_iter.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/buf_read_iter.rs b/src/buf_read_iter.rs
index cf36280..21f51a1 100644
--- a/src/buf_read_iter.rs
+++ b/src/buf_read_iter.rs
@@ -14,13 +14,11 @@ use bytes::Bytes;
#[cfg(feature = "bytes")]
use bytes::BytesMut;
+use crate::coded_input_stream::READ_RAW_BYTES_MAX_ALLOC;
use crate::error::WireError;
-use crate::stream::READ_RAW_BYTES_MAX_ALLOC;
use crate::ProtobufError;
use crate::ProtobufResult;
-use std::mem::MaybeUninit;
-
// If an input stream is constructed with a `Read`, we create a
// `BufReader` with an internal buffer of this size.
const INPUT_STREAM_BUFFER_SIZE: usize = 4096;