Skip to content

Commit 224ced5

Browse files
committed
Introduce InvisibleOrigin on invisible delimiters.
It's not used meaningfully yet, but will be needed to get rid of interpolated tokens.
1 parent 535bbfb commit 224ced5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ fn delim_token_to_str(
620620
("{ ", " }")
621621
}
622622
}
623-
Delimiter::Invisible => unreachable!(),
623+
Delimiter::Invisible(_) => unreachable!(),
624624
};
625625
if use_multiple_lines {
626626
let indent_str = shape.indent.to_string_with_newline(context.config);

0 commit comments

Comments
 (0)