]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/comment-inside-const.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / tools / rustfmt / tests / target / comment-inside-const.rs
1 fn issue982() {
2     const SOME_CONSTANT: u32 =
3         // Explanation why SOME_CONSTANT needs FLAG_A to be set.
4         FLAG_A |
5         // Explanation why SOME_CONSTANT needs FLAG_B to be set.
6         FLAG_B |
7         // Explanation why SOME_CONSTANT needs FLAG_C to be set.
8         FLAG_C;
9 }