Skip to content

Commit d513d98

Browse files
committed
Typos in a comment and an error message
1 parent bacf9e9 commit d513d98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rustc/middle/typeck/astconv.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ fn ast_path_to_ty<AC: ast_conv, RS: region_scope copy>(
134134
path: @ast::path,
135135
path_id: ast::node_id) -> ty_param_substs_and_ty {
136136

137-
// Lookup the polytype of the item and then substitute the provided types
137+
// Look up the polytype of the item and then substitute the provided types
138138
// for any type/region parameters.
139139
let tcx = self.tcx();
140140
let {substs: substs, ty: ty} =
@@ -216,7 +216,7 @@ fn ast_ty_to_ty<AC: ast_conv, RS: region_scope copy>(
216216
some(ty::atttce_resolved(ty)) { ret ty; }
217217
some(ty::atttce_unresolved) {
218218
tcx.sess.span_fatal(ast_ty.span, "illegal recursive type. \
219-
insert a enum in the cycle, \
219+
insert an enum in the cycle, \
220220
if this is desired)");
221221
}
222222
none { /* go on */ }

0 commit comments

Comments
 (0)