We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63af264 commit 67a61b9Copy full SHA for 67a61b9
compiler/rustc_middle/src/ty/instance.rs
@@ -499,7 +499,7 @@ impl<'tcx> Instance<'tcx> {
499
}
500
501
/// 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`.
+ /// identity parameters if they are determined to be unused in `instance.def`.
503
pub fn polymorphize(self, tcx: TyCtxt<'tcx>) -> Self {
504
debug!("polymorphize: running polymorphization analysis");
505
if !tcx.sess.opts.debugging_opts.polymorphize {
0 commit comments