Skip to content

Commit

Permalink
Rollup merge of #64725 - guanqun:typo-fix, r=zackmdavis
Browse files Browse the repository at this point in the history
fix one typo
  • Loading branch information
Centril authored Sep 24, 2019
2 parents 16cdc9e + 5aa5d57 commit 592ea43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_typeck/check/method/suggest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
};
let mut err = if !actual.references_error() {
// Suggest clamping down the type if the method that is being attempted to
// be used exists at all, and the type is an ambiuous numeric type
// be used exists at all, and the type is an ambiguous numeric type
// ({integer}/{float}).
let mut candidates = all_traits(self.tcx)
.into_iter()
Expand Down

0 comments on commit 592ea43

Please sign in to comment.