Rename Rptr
to Ref
in AST and HIR
The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well.
This commit is contained in:
parent
a1fc71196a
commit
9067e4417e
57 changed files with 93 additions and 97 deletions
|
@ -501,7 +501,7 @@ impl<'a> Parser<'a> {
|
|||
self.bump_with((dyn_tok, dyn_tok_sp));
|
||||
}
|
||||
let ty = self.parse_ty_no_plus()?;
|
||||
Ok(TyKind::Rptr(opt_lifetime, MutTy { ty, mutbl }))
|
||||
Ok(TyKind::Ref(opt_lifetime, MutTy { ty, mutbl }))
|
||||
}
|
||||
|
||||
// Parses the `typeof(EXPR)`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue