Skip to content

Commit 1018385

Browse files
committed
Improve weird formatting by moving comment inside else-code block.
1 parent ae34b9d commit 1018385

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc_expand/mbe/transcribe.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ pub(super) fn transcribe(
119119
let tree = if let Some(tree) = stack.last_mut().unwrap().next() {
120120
// If it still has a TokenTree we have not looked at yet, use that tree.
121121
tree
122-
}
123-
// The else-case never produces a value for `tree` (it `continue`s or `return`s).
124-
else {
122+
} else {
123+
// This else-case never produces a value for `tree` (it `continue`s or `return`s).
124+
125125
// Otherwise, if we have just reached the end of a sequence and we can keep repeating,
126126
// go back to the beginning of the sequence.
127127
if let Frame::Sequence { idx, sep, .. } = stack.last_mut().unwrap() {

0 commit comments

Comments
 (0)