From 633b40f75da9dae81ae02c96b108622dc01946ba Mon Sep 17 00:00:00 2001 From: Tyler Bindon Date: Fri, 25 Jan 2013 12:32:06 -0700 Subject: [PATCH] Fix Option camel case in debug messages --- src/librustc/middle/typeck/infer/lattice.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/middle/typeck/infer/lattice.rs b/src/librustc/middle/typeck/infer/lattice.rs index 9783aee0848c..54638819f7cc 100644 --- a/src/librustc/middle/typeck/infer/lattice.rs +++ b/src/librustc/middle/typeck/infer/lattice.rs @@ -492,13 +492,13 @@ fn lattice_var_and_t { // If a has an upper bound, return the LUB(a.ub, b) - debug!("bnd=some(%s)", a_bnd.inf_str(self.infcx())); + debug!("bnd=Some(%s)", a_bnd.inf_str(self.infcx())); lattice_dir_op(a_bnd, b) } None => { // If a does not have an upper bound, make b the upper bound of a // and then return b. - debug!("bnd=none"); + debug!("bnd=None"); let a_bounds = self.with_bnd(a_bounds, *b); do self.combine_fields().bnds(&a_bounds.lb, &a_bounds.ub).then { self.infcx().set(vb, a_id, Root(a_bounds, nde_a.rank));