From 7d05bb1e4afb196d454fa44a00cc870c816f27f1 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Tue, 26 Apr 2022 15:40:14 +0300 Subject: [PATCH] rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter` --- proc_macro/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proc_macro/src/lib.rs b/proc_macro/src/lib.rs index 00b8bb1eb..f1c5eaad8 100644 --- a/proc_macro/src/lib.rs +++ b/proc_macro/src/lib.rs @@ -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, }