use rustc_session::{declare_lint_pass, declare_tool_lint};
declare_clippy_lint! {
- /// **What it does:** Looks for blocks of expressions and fires if the last expression returns
+ /// ### What it does
+ /// Looks for blocks of expressions and fires if the last expression returns
/// `()` but is not followed by a semicolon.
///
- /// **Why is this bad?** The semicolon might be optional but when extending the block with new
+ /// ### Why is this bad?
+ /// The semicolon might be optional but when extending the block with new
/// code, it doesn't require a change in previous last line.
///
- /// **Known problems:** None.
- ///
- /// **Example:**
- ///
+ /// ### Example
/// ```rust
/// fn main() {
/// println!("Hello world")