Skip to content

Commit ba294a8

Browse files
committed
Fix an erroneous comment.
The `None` variant has already been renamed `Invisible`.
1 parent ac64a53 commit ba294a8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_ast/src/token.rs

-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ pub enum BinOpToken {
4141
/// Describes how a sequence of token trees is delimited.
4242
/// Cannot use `proc_macro::Delimiter` directly because this
4343
/// structure should implement some additional traits.
44-
/// The `None` variant is also renamed to `Invisible` to be
45-
/// less confusing and better convey the semantics.
4644
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
4745
#[derive(Encodable, Decodable, Hash, HashStable_Generic)]
4846
pub enum Delimiter {

0 commit comments

Comments
 (0)