Skip to content

Commit 8cbdc84

Browse files
committed
delete :
1 parent 1636396 commit 8cbdc84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/bytes_count_to_len.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl<'tcx> LateLintPass<'tcx> for BytesCountToLen {
5757
BYTES_COUNT_TO_LEN,
5858
expr.span,
5959
"using long and hard to read `.bytes().count()`",
60-
"consider calling `.len` instead:",
60+
"consider calling `.len` instead",
6161
format!("{}.len()", snippet_with_applicability(cx, str_expr.span, "..", &mut applicability)),
6262
applicability
6363
);

0 commit comments

Comments
 (0)