Skip to content

Commit f92c8f9

Browse files
committed
Add run-rustfix marker
1 parent 503fd56 commit f92c8f9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clippy_lints/src/manual_slice_size_calculation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// run-rustfix
12
use clippy_utils::diagnostics::span_lint_and_sugg;
23
use clippy_utils::source::snippet_with_context;
34
use clippy_utils::{expr_or_init, in_constant};

tests/ui/manual_slice_size_calculation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// run-rustfix
12
#![allow(unused)]
23
#![warn(clippy::manual_slice_size_calculation)]
34

0 commit comments

Comments
 (0)