Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit f77a072

Browse files
authored
Fix Typos in Documentation Comments (#785)
* Update error.rs * Update read.rs
1 parent 48ac8d4 commit f77a072

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/de/read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ where
5151
}
5252
}
5353

54-
/// A reader for borrowed data. Implementors of this must also implement the [Reader] trait. See the module documentation for more information.
54+
/// A reader for borrowed data. Implementers of this must also implement the [Reader] trait. See the module documentation for more information.
5555
pub trait BorrowReader<'storage>: Reader {
5656
/// Read exactly `length` bytes and return a slice to this data. If not enough bytes could be read, an error should be returned.
5757
///

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Errors that can be encounting by Encoding and Decoding.
1+
//! Errors that can be encountering by Encoding and Decoding.
22
33
/// Errors that can be encountered by encoding a type
44
#[non_exhaustive]

0 commit comments

Comments
 (0)