Skip to content

Commit

Permalink
rustc_ast: Harmonize delimiter naming with proc_macro::Delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed Apr 28, 2022
1 parent 4b83208 commit 7d05bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proc_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -704,10 +704,10 @@ pub enum Delimiter {
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
Bracket,
/// `Ø ... Ø`
/// An implicit delimiter, that may, for example, appear around tokens coming from a
/// An invisible delimiter, that may, for example, appear around tokens coming from a
/// "macro variable" `$var`. It is important to preserve operator priorities in cases like
/// `$var * 3` where `$var` is `1 + 2`.
/// Implicit delimiters might not survive roundtrip of a token stream through a string.
/// Invisible delimiters might not survive roundtrip of a token stream through a string.
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
None,
}
Expand Down

0 comments on commit 7d05bb1

Please sign in to comment.