Skip to content

Commit b86c603

Browse files
committed
rustc: Fix typo in infer
1 parent d877ebd commit b86c603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustc/middle/infer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ impl resolve_methods for infer_ctxt {
879879
//
880880
// There are two type combiners, lub and gub. The first computes the
881881
// Least Upper Bound of two types `a` and `b`---that is, a mutual
882-
// supertype type `c` where `a <: c` and `a <: c`. As the name
882+
// supertype type `c` where `a <: c` and `b <: c`. As the name
883883
// implies, it tries to pick the most precise `c` possible. `glb`
884884
// computes the greatest lower bound---that is, it computes a mutual
885885
// subtype, aiming for the most general such type possible. Both

0 commit comments

Comments
 (0)