Fix example header

This commit is contained in:
alexey semenyuk 2022-07-08 22:07:44 +03:00 committed by GitHub
parent 49f73e14a9
commit 4e60134ec3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ declare_clippy_lint! {
/// and friends since the string is already preprocessed when Clippy lints /// and friends since the string is already preprocessed when Clippy lints
/// can see it. /// can see it.
/// ///
/// # Example /// ### Example
/// ```rust /// ```rust
/// let one = "\033[1m Bold? \033[0m"; // \033 intended as escape /// let one = "\033[1m Bold? \033[0m"; // \033 intended as escape
/// let two = "\033\0"; // \033 intended as null-3-3 /// let two = "\033\0"; // \033 intended as null-3-3