resolve code review comments
This commit is contained in:
parent
625091d236
commit
f7050b0c78
6 changed files with 43 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue