]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/hir_wf_check.rs
Tweak output
[rust.git] / compiler / rustc_typeck / src / hir_wf_check.rs
index 7b709b302f630a0b0369f32c5f9c9f84acf4e7fc..b4b438a561a21266c3308786de770270ac9f85a6 100644 (file)
@@ -173,7 +173,7 @@ struct EraseAllBoundRegions<'tcx> {
 // `ItemCtxt::to_ty`. To make things simpler, we just erase all
 // of them, regardless of depth. At worse, this will give
 // us an inaccurate span for an error message, but cannot
-// lead to unsoundess (we call `delay_span_bug` at the start
+// lead to unsoundness (we call `delay_span_bug` at the start
 // of `diagnostic_hir_wf_check`).
 impl<'tcx> TypeFolder<'tcx> for EraseAllBoundRegions<'tcx> {
     fn tcx<'a>(&'a self) -> TyCtxt<'tcx> {