File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ pub mod panic_count {
300
300
thread_local ! { static LOCAL_PANIC_COUNT : Cell <usize > = const { Cell :: new( 0 ) } }
301
301
302
302
// Sum of panic counts from all threads. The purpose of this is to have
303
- // a fast path in `is_zero ` (which is used by `panicking`). In any particular
303
+ // a fast path in `count_is_zero ` (which is used by `panicking`). In any particular
304
304
// thread, if that thread currently views `GLOBAL_PANIC_COUNT` as being zero,
305
305
// then `LOCAL_PANIC_COUNT` in that thread is zero. This invariant holds before
306
306
// and after increase and decrease, but not necessarily during their execution.
@@ -369,7 +369,7 @@ pub mod panic_count {
369
369
}
370
370
371
371
// Slow path is in a separate function to reduce the amount of code
372
- // inlined from `is_zero `.
372
+ // inlined from `count_is_zero `.
373
373
#[ inline( never) ]
374
374
#[ cold]
375
375
fn is_zero_slow_path ( ) -> bool {
You can’t perform that action at this time.
0 commit comments