Skip to content

Commit 67a61b9

Browse files
committed
Typo
1 parent 63af264 commit 67a61b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/instance.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ impl<'tcx> Instance<'tcx> {
499499
}
500500

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

0 commit comments

Comments
 (0)