Files
rust/library/core/src
Oli Scherer c1a80211f5 Rollup merge of #121024 - joseluis:feat-asciichar-default, r=scottmcm
implement `Default` for `AsciiChar`

This implements `Default` for `AsciiChar` in order to match `char`'s implementation.

From all the different possible ways to do this I think the clearest one is to have both `char` and `AsciiChar` impls together.

I've also updated the doc-comment of the default variant since rustdoc doesn't seem to indicate it otherwise. Probably the text could be improved, though. I couldn't find any similar examples in the codebase and suggestions are welcomed.

r? `@scottmcm`
2024-02-14 11:53:40 +01:00
..
2024-02-08 07:43:38 -05:00
2024-02-13 12:04:44 +01:00
2023-10-13 14:54:33 +02:00
2023-12-12 07:03:37 +00:00
2024-02-10 10:19:57 +01:00
2024-02-08 07:44:34 -05:00
2024-02-08 07:43:38 -05:00
2024-02-09 22:24:57 -05:00
2023-12-22 11:01:42 +01:00
2023-06-29 01:55:03 +02:00
2023-04-16 07:20:26 +00:00
2023-07-28 14:46:17 +02:00
2023-12-10 10:56:22 +08:00
2024-02-13 12:04:44 +01:00
2023-09-06 09:47:22 -07:00
2024-01-20 18:27:55 +00:00
2023-11-15 21:45:48 -05:00
2024-02-08 07:44:34 -05:00
2024-02-08 07:44:34 -05:00
2024-01-16 14:58:42 -05:00
2024-02-09 09:53:30 -06:00