File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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 {
300300 thread_local ! { static LOCAL_PANIC_COUNT : Cell <usize > = const { Cell :: new( 0 ) } }
301301
302302 // 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
304304 // thread, if that thread currently views `GLOBAL_PANIC_COUNT` as being zero,
305305 // then `LOCAL_PANIC_COUNT` in that thread is zero. This invariant holds before
306306 // and after increase and decrease, but not necessarily during their execution.
@@ -369,7 +369,7 @@ pub mod panic_count {
369369 }
370370
371371 // Slow path is in a separate function to reduce the amount of code
372- // inlined from `is_zero `.
372+ // inlined from `count_is_zero `.
373373 #[ inline( never) ]
374374 #[ cold]
375375 fn is_zero_slow_path ( ) -> bool {
You can’t perform that action at this time.
0 commit comments