Skip to content

Commit 633b40f

Browse files
committed
Fix Option camel case in debug messages
1 parent edc94f5 commit 633b40f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/middle/typeck/infer/lattice.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,13 +492,13 @@ fn lattice_var_and_t<L:LatticeDir Combine,
492492
match self.bnd(a_bounds) {
493493
Some(ref a_bnd) => {
494494
// If a has an upper bound, return the LUB(a.ub, b)
495-
debug!("bnd=some(%s)", a_bnd.inf_str(self.infcx()));
495+
debug!("bnd=Some(%s)", a_bnd.inf_str(self.infcx()));
496496
lattice_dir_op(a_bnd, b)
497497
}
498498
None => {
499499
// If a does not have an upper bound, make b the upper bound of a
500500
// and then return b.
501-
debug!("bnd=none");
501+
debug!("bnd=None");
502502
let a_bounds = self.with_bnd(a_bounds, *b);
503503
do self.combine_fields().bnds(&a_bounds.lb, &a_bounds.ub).then {
504504
self.infcx().set(vb, a_id, Root(a_bounds, nde_a.rank));

0 commit comments

Comments
 (0)