Revert "renamed mk_nil_ptr to mk_unit_ptr"
This reverts commit 2be5c722de
.
This commit is contained in:
parent
8c53150b18
commit
d7ebc20e77
1 changed files with 1 additions and 1 deletions
|
@ -2491,7 +2491,7 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
|
|||
self.mk_ptr(TypeAndMut {ty: ty, mutbl: hir::MutImmutable})
|
||||
}
|
||||
|
||||
pub fn mk_unit_ptr(self) -> Ty<'tcx> {
|
||||
pub fn mk_nil_ptr(self) -> Ty<'tcx> {
|
||||
self.mk_imm_ptr(self.mk_unit())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue