resolve code review comments

This commit is contained in:
John Arundel 2024-07-07 10:44:27 +01:00
parent 625091d236
commit f7050b0c78
6 changed files with 43 additions and 44 deletions

View file

@ -632,8 +632,7 @@ declare_clippy_lint! {
/// or `_.or_else(|x| Err(y))`.
///
/// ### Why is this bad?
/// This can be written more concisely as `_.map(|x| y)` or `_.map_err(|x|
/// y)`.
/// This can be written more concisely as `_.map(|x| y)` or `_.map_err(|x| y)`.
///
/// ### Example
/// ```no_run