about summary refs log tree commit diff
path: root/library/core/src/cmp
diff options
context:
space:
mode:
authorNathaniel McCallum <nathaniel@mccallum.life>2025-08-31 22:26:10 -0400
committerLeón Orell Valerian Liehr <me@fmease.dev>2025-09-06 04:35:52 +0200
commit00fcb14e4e6e4fb28fde6a286fd9ac30a2d457c7 (patch)
tree00d1276f71461788745df2b5cc15af546d3d3e76 /library/core/src/cmp
parent6c699a37235700ab749e3f14147fe41d49c056e8 (diff)
clean up some old const trait impl syntax
Diffstat (limited to 'library/core/src/cmp')
-rw-r--r--library/core/src/cmp/bytewise.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/cmp/bytewise.rs b/library/core/src/cmp/bytewise.rs
index a06a6e8b69a..2265fa7a353 100644
--- a/library/core/src/cmp/bytewise.rs
+++ b/library/core/src/cmp/bytewise.rs
@@ -17,7 +17,7 @@ use crate::num::NonZero;
 /// - Neither `Self` nor `Rhs` have provenance, so integer comparisons are correct.
 /// - `<Self as PartialEq<Rhs>>::{eq,ne}` are equivalent to comparing the bytes.
 #[rustc_specialization_trait]
-#[const_trait]
+#[const_trait] // FIXME(const_trait_impl): Migrate to `const unsafe trait` once #146122 is fixed.
 pub(crate) unsafe trait BytewiseEq<Rhs = Self>:
     [const] PartialEq<Rhs> + Sized
 {