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

Support omitting format string #23

Closed
andrewhickman opened this issue Sep 8, 2021 · 1 comment · Fixed by #24
Closed

Support omitting format string #23

andrewhickman opened this issue Sep 8, 2021 · 1 comment · Fixed by #24

Comments

@andrewhickman
Copy link

andrewhickman commented Sep 8, 2021

For example println!() or writeln!(stream) would just write a line break.

This mirrors the functionality of the std macros, making these more of a drop in replacement. Note the write_with_newline clippy lint prefers this short form, which can be annoying since it also triggers when using writeln from this crate.

@LukasKalbertodt
Copy link
Owner

That's a good point. Not quite sure how I did not do that in the first place.

This is fixed in the linked PR and released in 0.2.6.

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 a pull request may close this issue.

2 participants