]> git.lizzy.rs Git - rust.git/blob - tests/ui/modulo_one.rs
Auto merge of #4314 - chansuke:add-negation-to-is_empty, r=flip1995
[rust.git] / tests / ui / modulo_one.rs
1 #![warn(clippy::modulo_one)]
2 #![allow(clippy::no_effect, clippy::unnecessary_operation)]
3
4 fn main() {
5     10 % 1;
6     10 % 2;
7 }