diff options
Diffstat (limited to 'buffered-reader/src/generic.rs')
-rw-r--r-- | buffered-reader/src/generic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buffered-reader/src/generic.rs b/buffered-reader/src/generic.rs index 7b5dd540..bd5a21c6 100644 --- a/buffered-reader/src/generic.rs +++ b/buffered-reader/src/generic.rs @@ -150,7 +150,7 @@ impl<T: io::Read, C> Generic<T, C> { = self.buffer.as_ref().map(|b| b.len() - self.cursor).unwrap_or(0); if let Some(error) = error { - // An error occured. If we have enough data to fulfill + // An error occurred. If we have enough data to fulfill // the caller's request, then don't return the error. if hard && amount > amount_buffered { return Err(error); |