use rustc_span::sym;
declare_clippy_lint! {
- /// **What it does:** Checks for usage of `option_env!(...).unwrap()` and
+ /// ### What it does
+ /// Checks for usage of `option_env!(...).unwrap()` and
/// suggests usage of the `env!` macro.
///
- /// **Why is this bad?** Unwrapping the result of `option_env!` will panic
+ /// ### Why is this bad?
+ /// Unwrapping the result of `option_env!` will panic
/// at run-time if the environment variable doesn't exist, whereas `env!`
/// catches it at compile-time.
///
- /// **Known problems:** None.
- ///
- /// **Example:**
- ///
+ /// ### Example
/// ```rust,no_run
/// let _ = option_env!("HOME").unwrap();
/// ```