about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-17 11:41:11 +0000
committerbors <bors@rust-lang.org>2023-11-17 11:41:11 +0000
commit25f4f858cc813b158358756475a2db769b0da01e (patch)
tree769e4b2c6111ed6cce15abcdbbed08fbc20731a0
parentedefa9770da49f0fdefec55f4d23fe6a410620ab (diff)
parent4143acf4c8a911a562ef1112a55f84c922a5c20f (diff)
downloadrust-25f4f858cc813b158358756475a2db769b0da01e.tar.gz
rust-25f4f858cc813b158358756475a2db769b0da01e.zip
Auto merge of #11828 - CleanCut:patch-1, r=xFrednet
Fix typo

Fix a little spelling error.

changelog: none
-rw-r--r--clippy_lints/src/unnecessary_map_on_constructor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/unnecessary_map_on_constructor.rs b/clippy_lints/src/unnecessary_map_on_constructor.rs
index 06c017ea15a..3a6d0895c72 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