diff options
| author | Boxy <rust@boxyuwu.dev> | 2025-08-06 13:51:50 +0100 |
|---|---|---|
| committer | Boxy <rust@boxyuwu.dev> | 2025-08-06 16:55:50 +0100 |
| commit | 7bc34622f037fedf3cf15c4a6beea1b40494cb2f (patch) | |
| tree | cef0c0a6a0bb035a176c63b6ac53e5b335cd6390 /library/core/src/num | |
| parent | 351e4bd1066a9d89b4d9f06c628ba0733c1850b5 (diff) | |
| download | rust-7bc34622f037fedf3cf15c4a6beea1b40494cb2f.tar.gz rust-7bc34622f037fedf3cf15c4a6beea1b40494cb2f.zip | |
tidy
Diffstat (limited to 'library/core/src/num')
| -rw-r--r-- | library/core/src/num/nonzero.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/nonzero.rs b/library/core/src/num/nonzero.rs index f793602de50..d4606651411 100644 --- a/library/core/src/num/nonzero.rs +++ b/library/core/src/num/nonzero.rs @@ -203,7 +203,7 @@ impl<T> Copy for NonZero<T> where T: ZeroablePrimitive {} #[rustc_const_unstable(feature = "const_cmp", issue = "143800")] impl<T> const PartialEq for NonZero<T> where - T: ZeroablePrimitive + ~const PartialEq, + T: ZeroablePrimitive + [const] PartialEq, { #[inline] fn eq(&self, other: &Self) -> bool { |
