Open ytmimi opened 1 month ago
->
instead of breaking between ()
for zero argument functionsRelated PR: https://github.com/rust-lang/rustfmt/pull/6362
style_edition == 2027
pub fn parse_conditional<'a, I: 'a>()
-> impl Parser<Input = I, Output = Expr, PartialState = ()> + 'a
where
I: Stream<Item = char>,
{
}
style_edition <= 2024
pub fn parse_conditional<'a, I: 'a>(
) -> impl Parser<Input = I, Output = Expr, PartialState = ()> + 'a
where
I: Stream<Item = char>,
{
}
Tracking issue documenting
style_edition=2027
changes.