Closed
Description
I would expect the empty line between the T: std::fmt::Debug
and T: std::fmt::Display
lines to be removed by rustfmt, but it isn't:
fn foo<T>(_: T)
where
T: std::fmt::Debug,
T: std::fmt::Display,
{
}
At least not by the rustfmt 1.5.1-stable (69f9c33d 2022-12-12)
version.
I'm sorry if it is a duplicate, but I haven't been able to find any related issues.