Skip to content

Commit

Permalink
Update comment in src/lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ollie-etl authored Feb 13, 2024
1 parent ed5faa9 commit fe33a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ impl<T> std::error::Error for Error<T> {
}

impl<B> Error<B> {
/// 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<F, U>(self, f: F) -> Error<U>
where
F: FnOnce(B) -> U,
Expand Down

0 comments on commit fe33a84

Please sign in to comment.