From 4143acf4c8a911a562ef1112a55f84c922a5c20f Mon Sep 17 00:00:00 2001 From: Nathan Stocks Date: Thu, 16 Nov 2023 17:18:48 -0700 Subject: [PATCH] fix typo --- clippy_lints/src/unnecessary_map_on_constructor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/unnecessary_map_on_constructor.rs b/clippy_lints/src/unnecessary_map_on_constructor.rs index 06c017ea15ab..3a6d0895c724 100644 --- a/clippy_lints/src/unnecessary_map_on_constructor.rs +++ b/clippy_lints/src/unnecessary_map_on_constructor.rs @@ -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