Scott McMurray
ba1a33e105
Prefer -1 for None
...
Currently we pick "weird" numbers like `1114112` for `None::<char>`. While that's not *wrong*, it's kinda *unnatural* -- a human wouldn't make that choice.
This PR instead picks `-1` for thinge like `None::<char>` -- like clang's `WEOF` -- and `None::<bool>` and such.
Any enums with more than one niched value (so not `Result` nor `Option`) remain as they were before.
2026-04-25 14:57:23 -07:00
..
2024-11-22 21:07:02 -05:00
2025-08-22 20:10:27 +00:00
2025-08-22 20:10:27 +00:00
2025-12-02 18:25:13 +00:00
2026-04-25 13:46:42 -07:00
2026-04-25 14:57:23 -07:00
2026-04-10 12:13:52 +02:00
2026-04-10 12:13:52 +02:00
2026-04-10 12:13:52 +02:00
2026-04-10 12:13:52 +02:00
2024-03-25 20:35:51 +01:00
2024-03-25 20:35:51 +01:00
2026-04-10 12:13:48 +02:00
2026-03-21 20:10:07 +00:00
2026-04-10 12:13:48 +02:00
2025-12-18 22:25:34 +01:00
2026-04-10 12:13:48 +02:00
2026-04-10 12:13:48 +02:00
2026-04-10 12:13:48 +02:00
2024-04-04 15:50:36 +05:30
2025-06-30 08:06:08 +00:00
2024-12-27 19:58:16 +11:00
2024-11-21 01:35:34 +00:00
2025-06-02 15:37:15 +00:00
2025-06-07 13:42:30 +02:00
2024-09-17 00:09:21 +02:00
2025-10-23 00:38:28 +00:00
2025-10-23 00:38:28 +00:00
2025-10-31 08:17:44 +00:00
2025-12-02 18:25:13 +00:00
2026-04-10 12:13:48 +02:00
2025-12-18 22:25:34 +01:00
2026-04-10 12:13:48 +02:00
2025-12-18 22:25:34 +01:00
2025-06-02 15:37:15 +00:00
2025-06-07 13:42:30 +02:00
2026-03-24 18:25:21 +01:00
2026-03-24 18:25:21 +01:00
2026-03-17 10:07:52 +00:00
2026-03-17 10:07:52 +00:00
2025-02-13 03:45:04 +00:00
2025-12-02 18:25:13 +00:00
2025-08-22 20:10:27 +00:00
2025-08-22 20:10:27 +00:00
2025-07-05 01:25:48 +05:00
2025-07-05 01:25:48 +05:00
2026-03-31 15:36:37 -04:00
2025-03-08 12:36:45 +01:00
2025-03-08 12:36:45 +01:00
2025-04-08 23:06:31 +03:00
2026-03-24 18:25:21 +01:00
2025-01-10 02:22:57 +01:00
2025-11-02 16:20:06 +01:00
2025-10-13 15:30:26 +02:00
2026-02-13 13:50:43 +00:00
2026-02-13 13:50:43 +00:00
2026-01-29 11:55:26 +01:00
2025-05-07 16:29:59 +00:00
2026-01-13 01:16:58 +00:00
2025-04-03 11:08:55 +03:00
2024-09-20 10:02:14 -07:00
2026-04-10 12:13:52 +02:00
2026-04-10 12:13:52 +02:00
2025-09-15 09:01:22 +00:00
2025-12-02 18:25:13 +00:00
2024-10-20 02:12:58 -07:00
2024-10-20 02:12:58 -07:00
2026-04-10 12:13:48 +02:00
2025-12-18 22:25:34 +01:00
2025-11-02 16:20:06 +01:00
2025-10-13 15:30:26 +02:00
2025-08-22 20:10:27 +00:00
2025-12-02 18:25:13 +00:00
2026-04-10 12:13:48 +02:00
2025-07-20 22:45:07 +00:00
2025-07-20 22:45:07 +00:00
2026-04-10 12:13:48 +02:00
2025-10-15 09:35:04 +01:00
2025-01-27 00:37:34 +01:00
2025-07-20 22:45:07 +00:00
2025-07-20 22:45:07 +00:00
2025-07-20 22:45:07 +00:00
2025-07-20 22:45:07 +00:00
2024-04-22 18:48:47 +02:00
2024-09-16 15:53:21 +02:00
2025-08-06 23:59:47 +00:00
2026-02-07 09:13:42 +01:00
2026-04-10 12:13:48 +02:00
2026-04-25 14:57:23 -07:00
2026-04-10 12:13:48 +02:00