Fix Typos in Documentation Comments (#785)

* Update error.rs

* Update read.rs
This commit is contained in:
kilavvy 2025-06-23 17:40:15 +02:00 committed by GitHub
parent 92edfe973c
commit fec6fa217f
2 changed files with 2 additions and 2 deletions

View File

@ -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 { 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. /// Read exactly `length` bytes and return a slice to this data. If not enough bytes could be read, an error should be returned.
/// ///

View File

@ -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 /// Errors that can be encountered by encoding a type
#[non_exhaustive] #[non_exhaustive]