File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2524,8 +2524,8 @@ trait RcInnerPtr {
25242524 self . strong_ref ( ) . set ( strong) ;
25252525
25262526 // 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.
25292529 if core:: intrinsics:: unlikely ( strong == 0 ) {
25302530 abort ( ) ;
25312531 }
@@ -2557,8 +2557,8 @@ trait RcInnerPtr {
25572557 self . weak_ref ( ) . set ( weak) ;
25582558
25592559 // 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.
25622562 if core:: intrinsics:: unlikely ( weak == 0 ) {
25632563 abort ( ) ;
25642564 }
You can’t perform that action at this time.
0 commit comments