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…
Add table
Add a link
Reference in a new issue