Skip to content

Commit

Permalink
add semicolon in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Centri3 committed Jun 8, 2023
1 parent ea86f05 commit 3ba8a5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/needless_raw_string_hashes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ declare_clippy_lint! {
///
/// ### Example
/// ```rust
/// let r = r###"Hello, "world"!"###
/// let r = r###"Hello, "world"!"###;
/// ```
/// Use instead:
/// ```rust
/// let r = r#"Hello, "world"!"#
/// let r = r#"Hello, "world"!"#;
/// ```
#[clippy::version = "1.72.0"]
pub NEEDLESS_RAW_STRING_HASHES,
Expand Down

0 comments on commit 3ba8a5a

Please sign in to comment.