mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +00:00
rustfmt again
This commit is contained in:
parent
b1f766b37b
commit
9d8dc689c7
1 changed files with 2 additions and 1 deletions
|
@ -539,7 +539,8 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for CastPass {
|
||||||
UNNECESSARY_CAST,
|
UNNECESSARY_CAST,
|
||||||
expr.span,
|
expr.span,
|
||||||
&format!("casting to the same type is unnecessary (`{}` -> `{}`)",
|
&format!("casting to the same type is unnecessary (`{}` -> `{}`)",
|
||||||
cast_from, cast_to));
|
cast_from,
|
||||||
|
cast_to));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue