diff --git a/embedded-io/src/lib.rs b/embedded-io/src/lib.rs index 9e2e528a..1341d1aa 100644 --- a/embedded-io/src/lib.rs +++ b/embedded-io/src/lib.rs @@ -355,7 +355,7 @@ pub trait Read: ErrorType { /// Blocking buffered reader. /// /// This trait is the `embedded-io` equivalent of [`std::io::BufRead`]. -pub trait BufRead: ErrorType { +pub trait BufRead: Read { /// Return the contents of the internal buffer, filling it with more data from the inner reader if it is empty. /// /// If no bytes are currently available to read, this function blocks until at least one byte is available.