use rustc_session::{declare_tool_lint, impl_lint_pass};
declare_clippy_lint! {
- /// **What it does:** Checks for fields in struct literals where shorthands
+ /// ### What it does
+ /// Checks for fields in struct literals where shorthands
/// could be used.
///
- /// **Why is this bad?** If the field and variable names are the same,
+ /// ### Why is this bad?
+ /// If the field and variable names are the same,
/// the field name is redundant.
///
- /// **Known problems:** None.
- ///
- /// **Example:**
+ /// ### Example
/// ```rust
/// let bar: u8 = 123;
///