Skip to content

Commit e903752

Browse files
committed
Fix typo
1 parent 4d7a80d commit e903752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/method/suggest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
16811681
|| found_assoc(tcx.types.u64)
16821682
|| found_assoc(tcx.types.u128)
16831683
|| found_assoc(tcx.types.f32)
1684-
|| found_assoc(tcx.types.f32);
1684+
|| found_assoc(tcx.types.f64);
16851685
if found_candidate
16861686
&& actual.is_numeric()
16871687
&& !actual.has_concrete_skeleton()

0 commit comments

Comments
 (0)