File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2516,7 +2516,9 @@ trait RcInnerPtr {
25162516 // missed optimization.
25172517 // SAFETY: The reference count will never be zero when this is
25182518 // called.
2519- unsafe { core:: intrinsics:: assume ( strong != 0 ) ; }
2519+ unsafe {
2520+ core:: intrinsics:: assume ( strong != 0 ) ;
2521+ }
25202522
25212523 let strong = strong. wrapping_add ( 1 ) ;
25222524 self . strong_ref ( ) . set ( strong) ;
@@ -2547,7 +2549,9 @@ trait RcInnerPtr {
25472549 // missed optimization.
25482550 // SAFETY: The reference count will never be zero when this is
25492551 // called.
2550- unsafe { core:: intrinsics:: assume ( weak != 0 ) ; }
2552+ unsafe {
2553+ core:: intrinsics:: assume ( weak != 0 ) ;
2554+ }
25512555
25522556 let weak = weak. wrapping_add ( 1 ) ;
25532557 self . weak_ref ( ) . set ( weak) ;
You can’t perform that action at this time.
0 commit comments