From 525a5c582fe7cf5b805cf2ff8bd5398da5bee422 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 16 May 2011 10:23:31 -0700 Subject: [PATCH] rustc: Fix indentation in ty_param_count_and_ty_for_def() --- src/comp/middle/typeck.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/comp/middle/typeck.rs b/src/comp/middle/typeck.rs index 4f50af38da64..5f1213ba1efd 100644 --- a/src/comp/middle/typeck.rs +++ b/src/comp/middle/typeck.rs @@ -136,19 +136,19 @@ fn ty_param_count_and_ty_for_def(&@fn_ctxt fcx, &ast::span sp, &ast::def defn) } case (ast::def_fn(?id)) { ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx, - fcx.ccx.type_cache, id); + fcx.ccx.type_cache, id); } case (ast::def_native_fn(?id)) { ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx, - fcx.ccx.type_cache, id); + fcx.ccx.type_cache, id); } case (ast::def_const(?id)) { ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx, - fcx.ccx.type_cache, id); + fcx.ccx.type_cache, id); } case (ast::def_variant(_, ?vid)) { ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx, - fcx.ccx.type_cache, vid); + fcx.ccx.type_cache, vid); } case (ast::def_binding(?id)) { // assert (fcx.locals.contains_key(id)); @@ -156,7 +156,7 @@ fn ty_param_count_and_ty_for_def(&@fn_ctxt fcx, &ast::span sp, &ast::def defn) } case (ast::def_obj(?id)) { ret ty::lookup_item_type(fcx.ccx.sess, fcx.ccx.tcx, - fcx.ccx.type_cache, id); + fcx.ccx.type_cache, id); } case (ast::def_mod(_)) {