s/generator/coroutine/
This commit is contained in:
@@ -130,9 +130,9 @@ where
|
||||
|
||||
for component in components {
|
||||
match *component.kind() {
|
||||
// The information required to determine whether a generator has drop is
|
||||
// The information required to determine whether a coroutine has drop is
|
||||
// computed on MIR, while this very method is used to build MIR.
|
||||
// To avoid cycles, we consider that generators always require drop.
|
||||
// To avoid cycles, we consider that coroutines always require drop.
|
||||
ty::Coroutine(..) => {
|
||||
return Some(Err(AlwaysRequiresDrop));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user