about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-07-16 16:39:04 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-07-16 16:39:19 +1000
commit8cb6bc3b5a33cbd7d9b131fad2f63cc243b26ea0 (patch)
tree50b694d8052aaa6f6ac841342b40d7003697db09 /compiler/rustc_parse/src/parser/expr.rs
parent96b39f1204992368f059b44b56362a91e1e27ef9 (diff)
downloadrust-8cb6bc3b5a33cbd7d9b131fad2f63cc243b26ea0.tar.gz
rust-8cb6bc3b5a33cbd7d9b131fad2f63cc243b26ea0.zip
Fix a comment.
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
-rw-r--r--compiler/rustc_parse/src/parser/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs
index 896f84d3a36..796a279188d 100644
--- a/compiler/rustc_parse/src/parser/expr.rs
+++ b/compiler/rustc_parse/src/parser/expr.rs
@@ -1375,7 +1375,7 @@ impl<'a> Parser<'a> {
     /// Parses things like parenthesized exprs, macros, `return`, etc.
     ///
     /// N.B., this does not parse outer attributes, and is private because it only works
-    /// correctly if called from `parse_dot_or_call_expr()`.
+    /// correctly if called from `parse_expr_dot_or_call`.
     fn parse_expr_bottom(&mut self) -> PResult<'a, P<Expr>> {
         maybe_recover_from_interpolated_ty_qpath!(self, true);