aboutsummaryrefslogtreecommitdiff
path: root/src/io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.rs')
-rw-r--r--src/io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io.rs b/src/io.rs
index 688e72a4..5801efaf 100644
--- a/src/io.rs
+++ b/src/io.rs
@@ -69,7 +69,7 @@ pub enum Utf8CharsError {
/// of a byte sequence well-formed in UTF-8, but ends prematurely.
///
/// Contains number of unused bytes
- IncompleteUtf8(u8),
+ IncompleteUtf8(usize),
/// Variant representing that an I/O error occurred.
Io(Error),