Skip to content

Commit db2c4f2

Browse files
committed
Fix typo
1 parent 33caf0b commit db2c4f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/instance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl<'tcx> Instance<'tcx> {
7171
/// However, during constant evaluation, we may want
7272
/// to try to resolve a `Instance` using generic parameters
7373
/// (e.g. when we are attempting to to do const-propagation).
74-
/// In this case, `Instace.ty_env` should be used to provide
74+
/// In this case, `Instance.ty_env` should be used to provide
7575
/// the `ParamEnv` for our generic context.
7676
pub fn monomorphic_ty(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx> {
7777
let ty = tcx.type_of(self.def.def_id());

0 commit comments

Comments
 (0)