s/generator/coroutine/
This commit is contained in:
parent
60956837cf
commit
e96ce20b34
468 changed files with 2201 additions and 2197 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue