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

Use explicitly-named args in impl_render_with_display #328

Merged
merged 2 commits into from
Jan 13, 2022

Conversation

malyn
Copy link
Contributor

@malyn malyn commented Jan 7, 2022

Implicitly-named format args were introduced in 6964942 as part of the work on #320, but it does not appear that feature will land until Rust 1.58. Explicitly naming the args ensures that the Maud works on non-Nightly builds of Rust.

malyn and others added 2 commits January 7, 2022 14:32
Implicitly-named args were failing on Rust 1.57 (but worked on Nightly).
Also add a TODO comment to revert later.
@lambda-fairy
Copy link
Owner

Thanks @malyn !

I tweaked the formatting to match that of the std docs. But otherwise LGTM.

@lambda-fairy lambda-fairy enabled auto-merge (squash) January 13, 2022 04:58
@lambda-fairy lambda-fairy merged commit 26cdad9 into lambda-fairy:main Jan 13, 2022
@malyn malyn deleted the explicit-format-args branch January 13, 2022 05:22
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