Skip to content

Commit 96db1d6

Browse files
committed
fix dogfood lint on clippy_utils
1 parent 3382201 commit 96db1d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ pub fn reindent_multiline(s: Cow<'_, str>, ignore_first: bool, indent: Option<us
128128
fn reindent_multiline_inner(s: &str, ignore_first: bool, indent: Option<usize>, ch: char) -> String {
129129
let x = s
130130
.lines()
131-
.skip(ignore_first as usize)
131+
.skip(usize::from(ignore_first))
132132
.filter_map(|l| {
133133
if l.is_empty() {
134134
None

0 commit comments

Comments
 (0)