mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 00:49:30 +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 {
|
fn reindent_multiline_inner(s: &str, ignore_first: bool, indent: Option<usize>, ch: char) -> String {
|
||||||
let x = s
|
let x = s
|
||||||
.lines()
|
.lines()
|
||||||
.skip(ignore_first as usize)
|
.skip(usize::from(ignore_first))
|
||||||
.filter_map(|l| {
|
.filter_map(|l| {
|
||||||
if l.is_empty() {
|
if l.is_empty() {
|
||||||
None
|
None
|
||||||
|
|
Loading…
Reference in a new issue