Skip to content

Commit e480cab

Browse files
committed
Fix empty-set symbol in comments
1 parent 3fba278 commit e480cab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiler/rustc_ast/src/token.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub enum Delimiter {
5151
Brace,
5252
/// `[ ... ]`
5353
Bracket,
54-
/// `Ø ... Ø`
54+
/// ` ... `
5555
/// An invisible delimiter, that may, for example, appear around tokens coming from a
5656
/// "macro variable" `$var`. It is important to preserve operator priorities in cases like
5757
/// `$var * 3` where `$var` is `1 + 2`.

compiler/rustc_parse/src/parser/item.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ impl<'a> Parser<'a> {
10631063
/// Parses a `UseTreeKind::Nested(list)`.
10641064
///
10651065
/// ```text
1066-
/// USE_TREE_LIST = Ø | (USE_TREE `,`)* USE_TREE [`,`]
1066+
/// USE_TREE_LIST = | (USE_TREE `,`)* USE_TREE [`,`]
10671067
/// ```
10681068
fn parse_use_tree_list(&mut self) -> PResult<'a, ThinVec<(UseTree, ast::NodeId)>> {
10691069
self.parse_delim_comma_seq(Delimiter::Brace, |p| {

library/proc_macro/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ pub enum Delimiter {
811811
/// `[ ... ]`
812812
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
813813
Bracket,
814-
/// `Ø ... Ø`
814+
/// ` ... `
815815
/// An invisible delimiter, that may, for example, appear around tokens coming from a
816816
/// "macro variable" `$var`. It is important to preserve operator priorities in cases like
817817
/// `$var * 3` where `$var` is `1 + 2`.

0 commit comments

Comments
 (0)