about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2024-04-16 18:19:27 -0700
committerDavid Tolnay <dtolnay@gmail.com>2024-04-16 18:19:27 -0700
commite480cabe3ae2b9363ebf92ab702c310f72c13a5a (patch)
treeec827be5beaad9c3146998bbb16f1870e7e09d91 /compiler/rustc_parse/src
parent3fba2782310b2754259a3c329220a5b1e6cf9a5c (diff)
downloadrust-e480cabe3ae2b9363ebf92ab702c310f72c13a5a.tar.gz
rust-e480cabe3ae2b9363ebf92ab702c310f72c13a5a.zip
Fix empty-set symbol in comments
Diffstat (limited to 'compiler/rustc_parse/src')
-rw-r--r--compiler/rustc_parse/src/parser/item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/item.rs b/compiler/rustc_parse/src/parser/item.rs
index b711ee9a8ee..1b335573b16 100644
--- a/compiler/rustc_parse/src/parser/item.rs
+++ b/compiler/rustc_parse/src/parser/item.rs
@@ -1063,7 +1063,7 @@ impl<'a> Parser<'a> {
     /// Parses a `UseTreeKind::Nested(list)`.
     ///
     /// ```text
-    /// USE_TREE_LIST = Ø | (USE_TREE `,`)* USE_TREE [`,`]
+    /// USE_TREE_LIST = ∅ | (USE_TREE `,`)* USE_TREE [`,`]
     /// ```
     fn parse_use_tree_list(&mut self) -> PResult<'a, ThinVec<(UseTree, ast::NodeId)>> {
         self.parse_delim_comma_seq(Delimiter::Brace, |p| {