fix one typo

This commit is contained in:
Guanqun Lu 2019-09-24 10:29:09 +08:00
parent 66bf391c3a
commit 5aa5d57808

View File

@ -232,7 +232,7 @@ pub fn report_method_error<'b>(
}; };
let mut err = if !actual.references_error() { let mut err = if !actual.references_error() {
// Suggest clamping down the type if the method that is being attempted to // 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}). // ({integer}/{float}).
let mut candidates = all_traits(self.tcx) let mut candidates = all_traits(self.tcx)
.into_iter() .into_iter()