Fix Typos in Documentation Comments (#785)
* Update error.rs * Update read.rs
This commit is contained in:
parent
92edfe973c
commit
fec6fa217f
|
|
@ -51,7 +51,7 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
/// A reader for borrowed data. Implementors of this must also implement the [Reader] trait. See the module documentation for more information.
|
||||
/// A reader for borrowed data. Implementers of this must also implement the [Reader] trait. See the module documentation for more information.
|
||||
pub trait BorrowReader<'storage>: Reader {
|
||||
/// Read exactly `length` bytes and return a slice to this data. If not enough bytes could be read, an error should be returned.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//! Errors that can be encounting by Encoding and Decoding.
|
||||
//! Errors that can be encountering by Encoding and Decoding.
|
||||
|
||||
/// Errors that can be encountered by encoding a type
|
||||
#[non_exhaustive]
|
||||
|
|
|
|||
Loading…
Reference in New Issue