@@ -111,8 +111,8 @@ fn lint_needless_cloning(cx: &LateContext<'_>, root: Span, receiver: Span) {
111111 cx,
112112 MAP_CLONE ,
113113 root. trim_start ( receiver) . unwrap ( ) ,
114- "You are needlessly cloning iterator elements" ,
115- "Remove the `map` call" ,
114+ "you are needlessly cloning iterator elements" ,
115+ "remove the `map` call" ,
116116 String :: new ( ) ,
117117 Applicability :: MachineApplicable ,
118118 )
@@ -125,8 +125,8 @@ fn lint(cx: &LateContext<'_>, replace: Span, root: Span, copied: bool) {
125125 cx,
126126 MAP_CLONE ,
127127 replace,
128- "You are using an explicit closure for copying elements" ,
129- "Consider calling the dedicated `copied` method" ,
128+ "you are using an explicit closure for copying elements" ,
129+ "consider calling the dedicated `copied` method" ,
130130 format ! (
131131 "{}.copied()" ,
132132 snippet_with_applicability( cx, root, ".." , & mut applicability)
@@ -138,8 +138,8 @@ fn lint(cx: &LateContext<'_>, replace: Span, root: Span, copied: bool) {
138138 cx,
139139 MAP_CLONE ,
140140 replace,
141- "You are using an explicit closure for cloning elements" ,
142- "Consider calling the dedicated `cloned` method" ,
141+ "you are using an explicit closure for cloning elements" ,
142+ "consider calling the dedicated `cloned` method" ,
143143 format ! (
144144 "{}.cloned()" ,
145145 snippet_with_applicability( cx, root, ".." , & mut applicability)
0 commit comments