Files
rust/src/libcoretest
bors b2799a56a1 Auto merge of #35755 - SimonSapin:char_convert, r=alexcrichton
Implement std::convert traits for char

This is motivated by avoiding the `as` operator, which sometimes silently truncates, and instead use conversions that are explicitly lossless and infallible.

I’m less certain that `From<u8> for char` should be implemented: while it matches an existing behavior of `as`, it’s not necessarily the right thing to use for non-ASCII bytes. It effectively decodes bytes as ISO/IEC 8859-1 (since Unicode designed its first 256 code points to be compatible with that encoding), but that is not apparent in the API name.
2016-09-01 02:53:28 -07:00
..
2016-03-12 12:31:13 -08:00
2016-06-29 16:08:32 -07:00
2016-01-14 23:02:32 -08:00
2015-08-17 19:35:52 -07:00
2016-08-29 17:34:02 +02:00
2015-10-16 21:15:23 +02:00
2016-06-14 15:51:49 +02:00
2015-03-26 12:10:22 -07:00
2015-03-26 12:10:22 -07:00
2016-03-11 08:42:56 +05:30