Skip to content

Commit

Permalink
Update manual_partial_ord_and_ord_impl.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Centri3 committed May 16, 2023
1 parent 5a3aa16 commit ae4f7a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/manual_partial_ord_and_ord_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
///
Expand All @@ -37,7 +37,7 @@ declare_clippy_lint! {
/// }
/// ```
/// Use instead:
/// ```rust
/// ```rust,ignore
/// #[derive(Eq, PartialEq)]
/// struct A(u32);
///
Expand Down

0 comments on commit ae4f7a7

Please sign in to comment.