This commit is contained in:
Oli Scherer 2021-03-04 14:48:17 +00:00
parent 63af264d62
commit 67a61b9a01

View File

@ -499,7 +499,7 @@ impl<'tcx> Instance<'tcx> {
}
/// Returns a new `Instance` where generic parameters in `instance.substs` are replaced by
/// identify parameters if they are determined to be unused in `instance.def`.
/// identity parameters if they are determined to be unused in `instance.def`.
pub fn polymorphize(self, tcx: TyCtxt<'tcx>) -> Self {
debug!("polymorphize: running polymorphization analysis");
if !tcx.sess.opts.debugging_opts.polymorphize {