Files
rust/library/core/tests
John Millikin 4e2797dd76 Implement Neg for signed non-zero integers.
Negating a non-zero integer currently requires unpacking to a
primitive and re-wrapping. Since negation of non-zero signed
integers always produces a non-zero result, it is safe to
implement `Neg` for `NonZeroI{N}`.

The new `impl` is marked as stable because trait implementations
for two stable types can't be marked unstable.
2023-04-20 14:27:29 +09:00
..
2023-04-16 11:38:52 +00:00
2023-02-26 13:50:08 +01:00
2022-10-08 11:48:53 +00:00
2022-07-13 17:07:41 -07:00
2022-12-28 09:18:43 -05:00
2022-05-22 07:18:32 -03:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2022-02-02 23:07:02 +09:00
2022-02-25 08:00:52 -05:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2022-12-28 09:18:43 -05:00
2021-11-21 19:10:39 -08:00
2023-04-16 11:38:52 +00:00
2022-09-27 19:23:52 +00:00
2022-08-20 12:49:20 -04:00
2022-12-30 14:00:42 +01:00
2023-01-02 10:33:23 -08:00
2023-04-16 11:38:52 +00:00
2022-07-08 21:18:15 +00:00
2022-06-27 13:30:44 -04:00