about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUrgau <3616612+Urgau@users.noreply.github.com>2024-01-26 21:01:45 +0100
committerGitHub <noreply@github.com>2024-01-26 21:01:45 +0100
commit93ff4a4f4806965a0ea19a0441e2e9ec8e2404f9 (patch)
tree97da9d7143c23849223e1611cb76b419fe0d1ef2
parent304361a10c2a1c550e47f89efc55901ff3b4cf2a (diff)
downloadrust-93ff4a4f4806965a0ea19a0441e2e9ec8e2404f9.tar.gz
rust-93ff4a4f4806965a0ea19a0441e2e9ec8e2404f9.zip
Fix typo
Co-authored-by: Michael Goulet <michael@errs.io>
-rw-r--r--compiler/rustc_errors/src/diagnostic_impls.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_impls.rs b/compiler/rustc_errors/src/diagnostic_impls.rs
index d18be69900c..d58d05095cd 100644
--- a/compiler/rustc_errors/src/diagnostic_impls.rs
+++ b/compiler/rustc_errors/src/diagnostic_impls.rs
@@ -64,7 +64,7 @@ macro_rules! into_diagnostic_arg_for_number {
             impl IntoDiagnosticArg for $ty {
                 fn into_diagnostic_arg(self) -> DiagnosticArgValue<'static> {
                     // HACK: `FluentNumber` the underline backing struct represent
-                    // numbers using a f64 which can represent all the i128 numbers
+                    // numbers using a f64 which can't represent all the i128 numbers
                     // So in order to be able to use fluent selectors and still
                     // have all the numbers representable we only convert numbers
                     // below a certain threshold.