diff options
| author | Jubilee <workingjubilee@gmail.com> | 2025-07-04 23:26:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-04 23:26:20 -0700 |
| commit | 3b522384e4b6ffaabcfa6ab87486a92b9b7bde77 (patch) | |
| tree | 058544ced46f5f2577a43e03eb32bd581ab1af92 | |
| parent | b1234daf8c949d77a81a2f27102c9554a1ce7a8d (diff) | |
| parent | 2d1aa582254e87b06c0805e6c3dcc4559bc7924c (diff) | |
| download | rust-3b522384e4b6ffaabcfa6ab87486a92b9b7bde77.tar.gz rust-3b522384e4b6ffaabcfa6ab87486a92b9b7bde77.zip | |
Rollup merge of #143040 - SciMind2460:patch-1, r=workingjubilee
Add `const Rem`
| -rw-r--r-- | library/core/src/ops/arith.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ops/arith.rs b/library/core/src/ops/arith.rs index 7ffde233da3..e53c128efe0 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] |
