Skip to content

Commit 5f1120b

Browse files
committed
Fix markup in SINGLE_CHAR_PATTERN documentation
1 parent 25b0396 commit 5f1120b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clippy_lints/src/methods.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,7 @@ declare_lint! {
379379
/// **Known problems:** Does not catch multi-byte unicode characters.
380380
///
381381
/// **Example:**
382-
/// ```rust
383-
/// _.split("x")` could be `_.split('x')
384-
/// ```
382+
/// `_.split("x")` could be `_.split('x')
385383
declare_lint! {
386384
pub SINGLE_CHAR_PATTERN,
387385
Warn,

0 commit comments

Comments
 (0)