Fix typo
This commit is contained in:
parent
3e827cc21e
commit
119bff1247
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ impl<'a, 'tcx> InternalSubsts<'tcx> {
|
|||
}
|
||||
|
||||
/// Interpret these substitutions as the substitutions of a generator type.
|
||||
/// Closure substitutions have a particular structure controlled by the
|
||||
/// Generator substitutions have a particular structure controlled by the
|
||||
/// compiler that encodes information like the signature and generator kind;
|
||||
/// see `ty::GeneratorSubsts` struct for more comments.
|
||||
pub fn as_generator(&'tcx self) -> GeneratorSubsts<'tcx> {
|
||||
|
|
Loading…
Add table
Reference in a new issue