mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
for loops -> for-loops
This commit is contained in:
parent
07d5dba0b7
commit
7e9ba81297
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ use utils::{get_enclosing_block, get_parent_expr, higher, in_external_macro, is_
|
||||||
span_help_and_lint, span_lint, span_lint_and_sugg, span_lint_and_then};
|
span_help_and_lint, span_lint, span_lint_and_sugg, span_lint_and_then};
|
||||||
use utils::paths;
|
use utils::paths;
|
||||||
|
|
||||||
/// **What it does:** Checks for for loops that manually copy items between
|
/// **What it does:** Checks for for-loops that manually copy items between
|
||||||
/// slices that could be optimized by having a memcpy.
|
/// slices that could be optimized by having a memcpy.
|
||||||
///
|
///
|
||||||
/// **Why is this bad?** It is not as fast as a memcpy.
|
/// **Why is this bad?** It is not as fast as a memcpy.
|
||||||
|
|
Loading…
Reference in a new issue