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 {
688
688
689
689
rewrite_unary_prefix ( context, prefix, & * mt. ty , shape)
690
690
}
691
- ast:: TyKind :: Rptr ( ref lifetime, ref mt) => {
691
+ ast:: TyKind :: Ref ( ref lifetime, ref mt) => {
692
692
let mut_str = format_mutability ( mt. mutbl ) ;
693
693
let mut_len = mut_str. len ( ) ;
694
694
let mut result = String :: with_capacity ( 128 ) ;
@@ -1059,7 +1059,7 @@ pub(crate) fn can_be_overflowed_type(
1059
1059
) -> bool {
1060
1060
match ty. kind {
1061
1061
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) => {
1063
1063
can_be_overflowed_type ( context, & * mutty. ty , len)
1064
1064
}
1065
1065
_ => false ,
You can’t perform that action at this time.
0 commit comments