diff options
| author | Gurinder Singh <frederick.the.fool@gmail.com> | 2023-08-11 17:52:34 +0530 |
|---|---|---|
| committer | Gurinder Singh <frederick.the.fool@gmail.com> | 2023-08-11 18:23:57 +0530 |
| commit | e903752b4814d2d0eb78aa56a515173f286a6cc9 (patch) | |
| tree | 8c98364d94937823d86df59b712f52df19665aa3 /compiler | |
| parent | 4d7a80d48697171ed151c4667b74fc7d784c1836 (diff) | |
| download | rust-e903752b4814d2d0eb78aa56a515173f286a6cc9.tar.gz rust-e903752b4814d2d0eb78aa56a515173f286a6cc9.zip | |
Fix typo
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_hir_typeck/src/method/suggest.rs | 2 |
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() |
