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,