Skip to content

cargo fmt: missing linebreak in error message #3644

@matthiaskrgr

Description

@matthiaskrgr

./target/debug/cargo-fmt -p wasd

The error message is:

[...]
ARGS:
    <rustfmt_options>...    Options passed to rustfmt%

looks like there is a final linebreak missing after the --help output.
(it should be Options passed to rustfmt\n instead of Options passed to rustfmt)

rustfmt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPanic, non-idempotency, invalid code, etc.good first issueIssues up for grabs, also good candidates for new rustfmt contributors

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions