mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-16 09:48:08 +00:00
Fix markup in SINGLE_CHAR_PATTERN
documentation
This commit is contained in:
parent
25b0396a57
commit
5f1120b346
1 changed files with 1 additions and 3 deletions
|
@ -379,9 +379,7 @@ declare_lint! {
|
|||
/// **Known problems:** Does not catch multi-byte unicode characters.
|
||||
///
|
||||
/// **Example:**
|
||||
/// ```rust
|
||||
/// _.split("x")` could be `_.split('x')
|
||||
/// ```
|
||||
/// `_.split("x")` could be `_.split('x')
|
||||
declare_lint! {
|
||||
pub SINGLE_CHAR_PATTERN,
|
||||
Warn,
|
||||
|
|
Loading…
Reference in a new issue