From d1a78f3ea5c17ab5fd7239942242dfcd12c4545f Mon Sep 17 00:00:00 2001 From: dlup <93457935+lupd@users.noreply.github.com> Date: Fri, 15 Apr 2022 16:34:44 -0400 Subject: [PATCH] Fix formatting of `cast_abs_to_unsigned` docs --- clippy_lints/src/casts/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/clippy_lints/src/casts/mod.rs b/clippy_lints/src/casts/mod.rs index 55c1f085657..ee6be230617 100644 --- a/clippy_lints/src/casts/mod.rs +++ b/clippy_lints/src/casts/mod.rs @@ -487,6 +487,7 @@ /// let y: u32 = x.abs() as u32; /// ``` /// Use instead: + /// ```rust /// let x: i32 = -42; /// let y: u32 = x.unsigned_abs(); /// ```