From ae4f7a7f4225727cd63e4f2306776f3926675d8b Mon Sep 17 00:00:00 2001 From: Centri3 <114838443+Centri3@users.noreply.github.com> Date: Mon, 15 May 2023 19:37:17 -0500 Subject: [PATCH] Update manual_partial_ord_and_ord_impl.rs --- clippy_lints/src/manual_partial_ord_and_ord_impl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/manual_partial_ord_and_ord_impl.rs b/clippy_lints/src/manual_partial_ord_and_ord_impl.rs index 87cf45a3acf0..bc61650fd3ee 100644 --- a/clippy_lints/src/manual_partial_ord_and_ord_impl.rs +++ b/clippy_lints/src/manual_partial_ord_and_ord_impl.rs @@ -20,7 +20,7 @@ declare_clippy_lint! { /// `Ord::cmp` in `Some`. Not doing this may silently introduce an error upon refactoring. /// /// ### Example - /// ```rust + /// ```rust,ignore /// #[derive(Eq, PartialEq)] /// struct A(u32); /// @@ -37,7 +37,7 @@ declare_clippy_lint! { /// } /// ``` /// Use instead: - /// ```rust + /// ```rust,ignore /// #[derive(Eq, PartialEq)] /// struct A(u32); ///