Skip to content

Commit 14f8e3b

Browse files
committed
add semicolon in doctest
1 parent b7950bc commit 14f8e3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/needless_raw_string_hashes.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ declare_clippy_lint! {
1818
///
1919
/// ### Example
2020
/// ```rust
21-
/// let r = r###"Hello, "world"!"###
21+
/// let r = r###"Hello, "world"!"###;
2222
/// ```
2323
/// Use instead:
2424
/// ```rust
25-
/// let r = r#"Hello, "world"!"#
25+
/// let r = r#"Hello, "world"!"#;
2626
/// ```
2727
#[clippy::version = "1.72.0"]
2828
pub NEEDLESS_RAW_STRING_HASHES,

0 commit comments

Comments
 (0)