Auto merge of #11828 - CleanCut:patch-1, r=xFrednet

Fix typo

Fix a little spelling error.

changelog: none
This commit is contained in:
bors 2023-11-17 11:41:11 +00:00
commit 25f4f858cc

View File

@ -9,7 +9,7 @@ use rustc_span::sym;
declare_clippy_lint! {
/// ### What it does
/// Suggest removing the use of a may (or map_err) method when an Option or Result is being constructed.
/// Suggest removing the use of a map (or map_err) method when an Option or Result is being constructed.
///
/// ### Why is this bad?
/// It introduces unnecessary complexity. In this case the function can be used directly and