Skip to content

Commit abde86f

Browse files
lcnrnnethercote
andauthored
Update compiler/rustc_middle/src/ty/sty.rs
Co-authored-by: Nicholas Nethercote <[email protected]>
1 parent 71edda8 commit abde86f

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/sty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ impl<'tcx> Ty<'tcx> {
836836
coroutine_args: GenericArgsRef<'tcx>,
837837
) -> Ty<'tcx> {
838838
tcx.debug_assert_args_compatible(def_id, coroutine_args);
839-
// HACK: Coroutine witnesse types are lifetime erased, so they
839+
// HACK: Coroutine witness types are lifetime erased, so they
840840
// never reference any lifetime args from the coroutine. We erase
841841
// the regions here since we may get into situations where a
842842
// coroutine is recursively contained within itself, leading to

0 commit comments

Comments
 (0)