From d513d9893ecd416943d96822f794c3212c8b60b8 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Mon, 25 Jun 2012 22:10:14 -0700 Subject: [PATCH] Typos in a comment and an error message --- src/rustc/middle/typeck/astconv.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rustc/middle/typeck/astconv.rs b/src/rustc/middle/typeck/astconv.rs index 25dfdf9bc06aa..eeb4d035cab43 100644 --- a/src/rustc/middle/typeck/astconv.rs +++ b/src/rustc/middle/typeck/astconv.rs @@ -134,7 +134,7 @@ fn ast_path_to_ty( 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} = @@ -216,7 +216,7 @@ fn ast_ty_to_ty( 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 */ }