about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorGurinder Singh <frederick.the.fool@gmail.com>2023-08-11 17:52:34 +0530
committerGurinder Singh <frederick.the.fool@gmail.com>2023-08-11 18:23:57 +0530
commite903752b4814d2d0eb78aa56a515173f286a6cc9 (patch)
tree8c98364d94937823d86df59b712f52df19665aa3 /compiler
parent4d7a80d48697171ed151c4667b74fc7d784c1836 (diff)
downloadrust-e903752b4814d2d0eb78aa56a515173f286a6cc9.tar.gz
rust-e903752b4814d2d0eb78aa56a515173f286a6cc9.zip
Fix typo
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_hir_typeck/src/method/suggest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_typeck/src/method/suggest.rs b/compiler/rustc_hir_typeck/src/method/suggest.rs
index a0d31d3a22c..72a04a02bf4 100644
--- a/compiler/rustc_hir_typeck/src/method/suggest.rs
+++ b/compiler/rustc_hir_typeck/src/method/suggest.rs
@@ -1681,7 +1681,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
             || found_assoc(tcx.types.u64)
             || found_assoc(tcx.types.u128)
             || found_assoc(tcx.types.f32)
-            || found_assoc(tcx.types.f32);
+            || found_assoc(tcx.types.f64);
         if found_candidate
             && actual.is_numeric()
             && !actual.has_concrete_skeleton()