Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catalog style_edition=2027 formatting differences #6371

Open
ytmimi opened this issue Oct 21, 2024 · 1 comment
Open

Catalog style_edition=2027 formatting differences #6371

ytmimi opened this issue Oct 21, 2024 · 1 comment

Comments

@ytmimi
Copy link
Contributor

ytmimi commented Oct 21, 2024

Tracking issue documenting style_edition=2027 changes.

@ytmimi
Copy link
Contributor Author

ytmimi commented Oct 21, 2024

Break function return types before -> instead of breaking between () for zero argument functions

Related PR: #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>,
{
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant