You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnissue982(){constSOME_CONSTANT:u32 =
// Explanation why SOME_CONSTANT needs FLAG_A to be set.FLAG_A |
// Explanation why SOME_CONSTANT needs FLAG_B to be set.FLAG_B |
// Explanation why SOME_CONSTANT needs FLAG_C to be set.FLAG_C;}
Expected output
Should the desired output (and input) be:
fnissue982(){constSOME_CONSTANT:u32 =
// Explanation why SOME_CONSTANT needs FLAG_A to be set.FLAG_A// Explanation why SOME_CONSTANT needs FLAG_B to be set.
| FLAG_B// Explanation why SOME_CONSTANT needs FLAG_C to be set.
| FLAG_C;}
That is, the | is put at the beginning of the line as binop_separator = "Front" is used, and the lines past FLAG_A are indented to the right, based on the current formatting of the following example:
Input / Output
Test comment-inside-const.rs is now:
Expected output
Should the desired output (and input) be:
That is, the
|
is put at the beginning of the line asbinop_separator = "Front"
is used, and the lines pastFLAG_A
are indented to the right, based on the current formatting of the following example:The current test should probably be formatted as something like (with
binop_separator = "Front"
):The text was updated successfully, but these errors were encountered: