1
Fork 0

s/generator/coroutine/

This commit is contained in:
Oli Scherer 2023-10-19 21:46:28 +00:00
parent 60956837cf
commit e96ce20b34
468 changed files with 2201 additions and 2197 deletions

View file

@ -106,7 +106,7 @@ impl CodeStats {
// used here so that source code order is preserved for all variants
// that have the same size.
// Except for Coroutines, whose variants are already sorted according to
// their yield points in `variant_info_for_generator`.
// their yield points in `variant_info_for_coroutine`.
if kind != DataTypeKind::Coroutine {
variants.sort_by_key(|info| cmp::Reverse(info.size));
}