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 {
2516
2516
// missed optimization.
2517
2517
// SAFETY: The reference count will never be zero when this is
2518
2518
// called.
2519
- unsafe { core:: intrinsics:: assume ( strong != 0 ) ; }
2519
+ unsafe {
2520
+ core:: intrinsics:: assume ( strong != 0 ) ;
2521
+ }
2520
2522
2521
2523
let strong = strong. wrapping_add ( 1 ) ;
2522
2524
self . strong_ref ( ) . set ( strong) ;
@@ -2547,7 +2549,9 @@ trait RcInnerPtr {
2547
2549
// missed optimization.
2548
2550
// SAFETY: The reference count will never be zero when this is
2549
2551
// called.
2550
- unsafe { core:: intrinsics:: assume ( weak != 0 ) ; }
2552
+ unsafe {
2553
+ core:: intrinsics:: assume ( weak != 0 ) ;
2554
+ }
2551
2555
2552
2556
let weak = weak. wrapping_add ( 1 ) ;
2553
2557
self . weak_ref ( ) . set ( weak) ;
You can’t perform that action at this time.
0 commit comments