From fe33a845bbd2824f8c013139f300eb57ae9dfc19 Mon Sep 17 00:00:00 2001 From: ollie <72926894+ollie-etl@users.noreply.github.com> Date: Tue, 13 Feb 2024 12:30:48 +0000 Subject: [PATCH] Update comment in src/lib.rs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a9f5f9c9..aabea2f3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -284,7 +284,7 @@ impl std::error::Error for Error { } impl Error { - /// Applies a function to the contained buffer, returning a new `BufError`. + /// Applies a function to the contained buffer, returning a new `Error`. pub fn map(self, f: F) -> Error where F: FnOnce(B) -> U,