File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2524,8 +2524,8 @@ trait RcInnerPtr {
2524
2524
self . strong_ref ( ) . set ( strong) ;
2525
2525
2526
2526
// We want to abort on overflow instead of dropping the value.
2527
- // Checking after the store instead of before allows for
2528
- // slightly better code generation.
2527
+ // Checking for overflow after the store instead of before
2528
+ // allows for slightly better code generation.
2529
2529
if core:: intrinsics:: unlikely ( strong == 0 ) {
2530
2530
abort ( ) ;
2531
2531
}
@@ -2557,8 +2557,8 @@ trait RcInnerPtr {
2557
2557
self . weak_ref ( ) . set ( weak) ;
2558
2558
2559
2559
// We want to abort on overflow instead of dropping the value.
2560
- // Checking after the store instead of before allows for
2561
- // slightly better code generation.
2560
+ // Checking for overflow after the store instead of before
2561
+ // allows for slightly better code generation.
2562
2562
if core:: intrinsics:: unlikely ( weak == 0 ) {
2563
2563
abort ( ) ;
2564
2564
}
You can’t perform that action at this time.
0 commit comments