about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-08-02 09:28:44 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-08-02 10:32:35 +1000
commitba294a816bd51526b8bf99cb21050f669b8397b0 (patch)
treeaf489542ca2d1d7ea280f4f8a52c83b851e1ce6d /compiler
parentac64a53e17097f87de8913e372a0baa99e58e31e (diff)
downloadrust-ba294a816bd51526b8bf99cb21050f669b8397b0.tar.gz
rust-ba294a816bd51526b8bf99cb21050f669b8397b0.zip
Fix an erroneous comment.
The `None` variant has already been renamed `Invisible`.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_ast/src/token.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_ast/src/token.rs b/compiler/rustc_ast/src/token.rs
index 4c920e84f86..f4ad0efa423 100644
--- a/compiler/rustc_ast/src/token.rs
+++ b/compiler/rustc_ast/src/token.rs
@@ -41,8 +41,6 @@ pub enum BinOpToken {
 /// Describes how a sequence of token trees is delimited.
 /// Cannot use `proc_macro::Delimiter` directly because this
 /// structure should implement some additional traits.
-/// The `None` variant is also renamed to `Invisible` to be
-/// less confusing and better convey the semantics.
 #[derive(Copy, Clone, Debug, PartialEq, Eq)]
 #[derive(Encodable, Decodable, Hash, HashStable_Generic)]
 pub enum Delimiter {