Merge remote-tracking branch 'upstream/master' into rustup
This commit is contained in:
commit
0f501ac1db
34 changed files with 464 additions and 65 deletions
|
|
@ -8,7 +8,7 @@ use rustc_session::{declare_lint_pass, declare_tool_lint};
|
|||
use std::fmt::Display;
|
||||
|
||||
declare_clippy_lint! {
|
||||
/// **What it does:** Checks for modulo arithemtic.
|
||||
/// **What it does:** Checks for modulo arithmetic.
|
||||
///
|
||||
/// **Why is this bad?** The results of modulo (%) operation might differ
|
||||
/// depending on the language, when negative numbers are involved.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue