]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_hir_analysis/src/check/dropck.rs
Rollup merge of #104811 - haraldh:feat/wasm32_wasi_shutdown, r=joshtriplett
[rust.git] / compiler / rustc_hir_analysis / src / check / dropck.rs
index d04d8ca2c32740d85bb6af99a9394d4b3f3785e1..d6e3ddb0a613964238574c6fbc46261d8a00f620 100644 (file)
@@ -233,9 +233,10 @@ fn ensure_drop_predicates_are_implied_by_item_defn<'tcx>(
     result
 }
 
-// This is an implementation of the TypeRelation trait with the
-// aim of simply comparing for equality (without side-effects).
-// It is not intended to be used anywhere else other than here.
+/// This is an implementation of the [`TypeRelation`] trait with the
+/// aim of simply comparing for equality (without side-effects).
+///
+/// It is not intended to be used anywhere else other than here.
 pub(crate) struct SimpleEqRelation<'tcx> {
     tcx: TyCtxt<'tcx>,
     param_env: ty::ParamEnv<'tcx>,