@@ -1090,8 +1090,8 @@ impl assignment for infer_ctxt {
1090
1090
// ______________________________________________________________________
1091
1091
// Type combining
1092
1092
//
1093
- // There are three type combiners, sub, lub, and glb. Each implements
1094
- // the interface `combine` contains methods for combining two
1093
+ // There are three type combiners: sub, lub, and glb. Each implements
1094
+ // the interface `combine` and contains methods for combining two
1095
1095
// instances of various things and yielding a new instance. These
1096
1096
// combiner methods always yield a `result<T>`---failure is propagated
1097
1097
// upward using `chain()` methods.
@@ -1101,13 +1101,13 @@ impl assignment for infer_ctxt {
1101
1101
// instance as the first parameter. This would be better implemented
1102
1102
// using traits. For this system to work properly, you should not
1103
1103
// call the `super_X(foo, ...)` functions directly, but rather call
1104
- // `foo.X(...)`. The implemtation of `X()` can then choose to delegate
1104
+ // `foo.X(...)`. The implementation of `X()` can then choose to delegate
1105
1105
// to the `super` routine or to do other things.
1106
1106
//
1107
1107
// In reality, the sub operation is rather different from lub/glb, but
1108
1108
// they are combined into one interface to avoid duplication (they
1109
1109
// used to be separate but there were many bugs because there were two
1110
- // copies of most routines.
1110
+ // copies of most routines) .
1111
1111
//
1112
1112
// The differences are:
1113
1113
//
@@ -1177,7 +1177,7 @@ fn super_substs<C:combine>(
1177
1177
( _, _) {
1178
1178
// If these two substitutions are for the same type (and
1179
1179
// they should be), then the type should either
1180
- // consistenly have a region parameter or not have a
1180
+ // consistently have a region parameter or not have a
1181
1181
// region parameter.
1182
1182
infcx. tcx. sess. bug(
1183
1183
#fmt[ "substitution a had opt_region %s and \
0 commit comments