Auto merge of #11058 - Centri3:typos, r=xFrednet

Fix typos

Just a couple misc typos I found

changelog: none
This commit is contained in:
bors 2023-07-02 12:11:30 +00:00
commit 1990b72e8a
14 changed files with 22 additions and 20 deletions

View file

@ -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<'_>,