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

Avoid extraneous newline when printing to stdout #123

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

bbannier
Copy link
Owner

@bbannier bbannier commented Sep 3, 2024

By using println! for stdout output in the CLI we would potentially
add stray newlines to the output, avoid that.

@bbannier bbannier self-assigned this Sep 3, 2024
@bbannier bbannier marked this pull request as ready for review September 3, 2024 14:03
src/main.rs Outdated Show resolved Hide resolved
By using `println!` for stdout output in the CLI we would potentially
add stray newlines to the output, avoid that.
@bbannier bbannier force-pushed the t/cli-stdout-newline branch from 8e9db2e to fc3d9c6 Compare September 3, 2024 14:33
@bbannier bbannier merged commit fc3d9c6 into main Sep 3, 2024
7 checks passed
@bbannier bbannier deleted the t/cli-stdout-newline branch September 3, 2024 15:16
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