Skip to content

Commit

Permalink
Typos in a comment and an error message
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Jun 26, 2012
1 parent bacf9e9 commit d513d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rustc/middle/typeck/astconv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ fn ast_path_to_ty<AC: ast_conv, RS: region_scope copy>(
path: @ast::path,
path_id: ast::node_id) -> ty_param_substs_and_ty {

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

0 comments on commit d513d98

Please sign in to comment.