aboutsummaryrefslogtreecommitdiff
path: root/azalea-buf/src/read.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-buf/src/read.rs')
-rw-r--r--azalea-buf/src/read.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-buf/src/read.rs b/azalea-buf/src/read.rs
index b1b95f4d..143190b5 100644
--- a/azalea-buf/src/read.rs
+++ b/azalea-buf/src/read.rs
@@ -2,7 +2,7 @@ use std::{
backtrace::Backtrace,
collections::HashMap,
hash::Hash,
- io::{Cursor, Read},
+ io::{self, Cursor, Read},
sync::Arc,
};
@@ -30,7 +30,7 @@ pub enum BufReadError {
Io {
#[from]
#[backtrace]
- source: std::io::Error,
+ source: io::Error,
},
#[error("Invalid UTF-8: {bytes:?} (lossy: {lossy:?})")]
InvalidUtf8 {