File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -688,7 +688,7 @@ impl Rewrite for ast::Ty {
688688
689689 rewrite_unary_prefix ( context, prefix, & * mt. ty , shape)
690690 }
691- ast:: TyKind :: Rptr ( ref lifetime, ref mt) => {
691+ ast:: TyKind :: Ref ( ref lifetime, ref mt) => {
692692 let mut_str = format_mutability ( mt. mutbl ) ;
693693 let mut_len = mut_str. len ( ) ;
694694 let mut result = String :: with_capacity ( 128 ) ;
@@ -1059,7 +1059,7 @@ pub(crate) fn can_be_overflowed_type(
10591059) -> bool {
10601060 match ty. kind {
10611061 ast:: TyKind :: Tup ( ..) => context. use_block_indent ( ) && len == 1 ,
1062- ast:: TyKind :: Rptr ( _, ref mutty) | ast:: TyKind :: Ptr ( ref mutty) => {
1062+ ast:: TyKind :: Ref ( _, ref mutty) | ast:: TyKind :: Ptr ( ref mutty) => {
10631063 can_be_overflowed_type ( context, & * mutty. ty , len)
10641064 }
10651065 _ => false ,
You can’t perform that action at this time.
0 commit comments