mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +00:00
fix dogfood lint on clippy_utils
This commit is contained in:
parent
33822012ec
commit
96db1d6bea
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ pub fn reindent_multiline(s: Cow<'_, str>, ignore_first: bool, indent: Option<us
|
|||
fn reindent_multiline_inner(s: &str, ignore_first: bool, indent: Option<usize>, ch: char) -> String {
|
||||
let x = s
|
||||
.lines()
|
||||
.skip(ignore_first as usize)
|
||||
.skip(usize::from(ignore_first))
|
||||
.filter_map(|l| {
|
||||
if l.is_empty() {
|
||||
None
|
||||
|
|
Loading…
Reference in a new issue