diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-14 08:49:41 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-14 13:06:57 +1000 |
| commit | bbcfd90cd17a5d8a812cf3dcf9e5197b72ddde4b (patch) | |
| tree | dc98b8955700cf5ab2b2e32b36b6943d082a8c06 /compiler/rustc_parse | |
| parent | 80eb5a8e910e5185d47cdefe3732d839c78a5e7e (diff) | |
| download | rust-bbcfd90cd17a5d8a812cf3dcf9e5197b72ddde4b.tar.gz rust-bbcfd90cd17a5d8a812cf3dcf9e5197b72ddde4b.zip | |
Convert a `&mut self` to `&self`.
Diffstat (limited to 'compiler/rustc_parse')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 2 |
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 cf5d65708ab..bb3cddccce2 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -1206,7 +1206,7 @@ impl<'a> Parser<'a> { } fn mk_expr_tuple_field_access( - &mut self, + &self, lo: Span, ident_span: Span, base: P<Expr>, |
