We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 353483c + 12e427f commit a80a285Copy full SHA for a80a285
embedded-io/src/lib.rs
@@ -355,7 +355,7 @@ pub trait Read: ErrorType {
355
/// Blocking buffered reader.
356
///
357
/// This trait is the `embedded-io` equivalent of [`std::io::BufRead`].
358
-pub trait BufRead: ErrorType {
+pub trait BufRead: Read {
359
/// Return the contents of the internal buffer, filling it with more data from the inner reader if it is empty.
360
361
/// If no bytes are currently available to read, this function blocks until at least one byte is available.
0 commit comments