We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
modulo_one
1 parent 32374a1 commit cfccdbbCopy full SHA for cfccdbb
clippy_lints/src/operators/mod.rs
@@ -627,7 +627,7 @@ declare_clippy_lint! {
627
628
declare_clippy_lint! {
629
/// ### What it does
630
- /// Checks for getting the remainder of a division by one or minus
+ /// Checks for getting the remainder of integer division by one or minus
631
/// one.
632
///
633
/// ### Why is this bad?
@@ -646,7 +646,7 @@ declare_clippy_lint! {
646
#[clippy::version = "pre 1.29.0"]
647
pub MODULO_ONE,
648
correctness,
649
- "taking a number modulo +/-1, which can either panic/overflow or always returns 0"
+ "taking an integer modulo +/-1, which can either panic/overflow or always returns 0"
650
}
651
652
0 commit comments