-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Labels
1x-backport:pendingFixed/resolved in source but not yet backported to a 1x branch and releaseFixed/resolved in source but not yet backported to a 1x branch and releasea-commentsa-macrospoor-formatting
Description
Input
macro_rules! bad {
() => {
macro_rules! inner {
() => {
// This needs to have a width of over 100 characters to trigger the issue 12345678901
("a", "B")
};
}
};
}
Output
macro_rules! bad {
() => {
macro_rules! inner {
() => {
// This needs to have a width of over 100 characters to trigger the issue 12345678901
("a", "B")
};
}
};
}
Expected output
macro_rules! bad {
() => {
macro_rules! inner {
() => {
// This needs to have a width of over 100 characters to trigger the issue 12345678901
("a", "B")
};
}
};
}
Meta
- rustfmt version:
rustfmt 1.4.16-stable (939e164 2020-06-11)
- From where did you install rustfmt?: rustup
Modifying the comment to be less than 100 characters causes rustfmt to leave the code unchanged.
Metadata
Metadata
Assignees
Labels
1x-backport:pendingFixed/resolved in source but not yet backported to a 1x branch and releaseFixed/resolved in source but not yet backported to a 1x branch and releasea-commentsa-macrospoor-formatting