use rustc_session::{declare_lint_pass, declare_tool_lint};
declare_clippy_lint! {
- /// **What it does:** Checks for `.to_digit(..).is_some()` on `char`s.
+ /// ### What it does
+ /// Checks for `.to_digit(..).is_some()` on `char`s.
///
- /// **Why is this bad?** This is a convoluted way of checking if a `char` is a digit. It's
+ /// ### Why is this bad?
+ /// This is a convoluted way of checking if a `char` is a digit. It's
/// more straight forward to use the dedicated `is_digit` method.
///
- /// **Example:**
+ /// ### Example
/// ```rust
/// # let c = 'c';
/// # let radix = 10;