Skip to content

Commit 7d05bb1

Browse files
committed
rustc_ast: Harmonize delimiter naming with proc_macro::Delimiter
1 parent 4b83208 commit 7d05bb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proc_macro/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,10 +704,10 @@ pub enum Delimiter {
704704
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
705705
Bracket,
706706
/// `Ø ... Ø`
707-
/// An implicit delimiter, that may, for example, appear around tokens coming from a
707+
/// An invisible delimiter, that may, for example, appear around tokens coming from a
708708
/// "macro variable" `$var`. It is important to preserve operator priorities in cases like
709709
/// `$var * 3` where `$var` is `1 + 2`.
710-
/// Implicit delimiters might not survive roundtrip of a token stream through a string.
710+
/// Invisible delimiters might not survive roundtrip of a token stream through a string.
711711
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
712712
None,
713713
}

0 commit comments

Comments
 (0)