From fec6fa217fa81142366e93756f2646de23725b6e Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Mon, 23 Jun 2025 17:40:15 +0200 Subject: [PATCH] Fix Typos in Documentation Comments (#785) * Update error.rs * Update read.rs --- src/de/read.rs | 2 +- src/error.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/read.rs b/src/de/read.rs index 21c35db..1e8e9a3 100644 --- a/src/de/read.rs +++ b/src/de/read.rs @@ -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. /// diff --git a/src/error.rs b/src/error.rs index b3dc565..6c71fab 100644 --- a/src/error.rs +++ b/src/error.rs @@ -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]