From c4ec2d6f355824e42832b6bec9a8003d4c877620 Mon Sep 17 00:00:00 2001 From: "Kurt Heiritz (pseudo)" Date: Thu, 26 Jun 2025 10:41:27 +0530 Subject: [PATCH] Update arith.rs --- library/core/src/ops/arith.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/ops/arith.rs b/library/core/src/ops/arith.rs index 7ffde233da342..e53c128efe069 100644 --- a/library/core/src/ops/arith.rs +++ b/library/core/src/ops/arith.rs @@ -627,7 +627,7 @@ macro_rules! rem_impl_float { /// ``` #[stable(feature = "rust1", since = "1.0.0")] #[rustc_const_unstable(feature = "const_ops", issue = "90080")] - impl Rem for $t { + impl const Rem for $t { type Output = $t; #[inline]