Auto merge of #11058 - Centri3:typos, r=xFrednet
Fix typos Just a couple misc typos I found changelog: none
This commit is contained in:
commit
1990b72e8a
14 changed files with 22 additions and 20 deletions
|
|
@ -11,7 +11,8 @@ use rustc_span::symbol::sym;
|
|||
use super::MAP_UNWRAP_OR;
|
||||
|
||||
/// lint use of `map().unwrap_or_else()` for `Option`s and `Result`s
|
||||
/// Return true if lint triggered
|
||||
///
|
||||
/// Returns true if the lint was emitted
|
||||
pub(super) fn check<'tcx>(
|
||||
cx: &LateContext<'tcx>,
|
||||
expr: &'tcx hir::Expr<'_>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue