We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33caf0b commit db2c4f2Copy full SHA for db2c4f2
src/librustc/ty/instance.rs
@@ -71,7 +71,7 @@ impl<'tcx> Instance<'tcx> {
71
/// However, during constant evaluation, we may want
72
/// to try to resolve a `Instance` using generic parameters
73
/// (e.g. when we are attempting to to do const-propagation).
74
- /// In this case, `Instace.ty_env` should be used to provide
+ /// In this case, `Instance.ty_env` should be used to provide
75
/// the `ParamEnv` for our generic context.
76
pub fn monomorphic_ty(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx> {
77
let ty = tcx.type_of(self.def.def_id());
0 commit comments