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

Fix edition 2018 idioms #93

Merged
merged 2 commits into from
Sep 8, 2021
Merged

Fix edition 2018 idioms #93

merged 2 commits into from
Sep 8, 2021

Conversation

nickelc
Copy link
Contributor

@nickelc nickelc commented Sep 8, 2021

cargo fix --edition-idioms

Copy link
Owner

@zslayton zslayton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -295,7 +295,7 @@ impl Schedule {
}

impl Display for Schedule {
fn fmt(&self, f: &mut Formatter) -> FmtResult {
fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised that rustfix prefers to make these elisions explicit since that makes things more verbose. If you happen to have a link explaining the motivation, I'd be curious to learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zslayton zslayton merged commit 2882136 into zslayton:master Sep 8, 2021
@nickelc nickelc deleted the fix-idioms branch September 8, 2021 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants