rust/library/core
Yuki Okushi 7432588e5d
Rollup merge of #89258 - est31:const_char_convert, r=oli-obk
Make char conversion functions unstably const

The char conversion functions like `char::from_u32` do trivial computations and can easily be converted into const fns. Only smaller tricks are needed to avoid non-const standard library functions like `Result::ok` or `bool::then_some`.

Tracking issue: https://github.com/rust-lang/rust/issues/89259
2021-11-19 13:06:31 +09:00
..
benches Auto merge of #88788 - falk-hueffner:speedup-int-log10-branchless, r=joshtriplett 2021-10-12 03:18:54 +00:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of #89258 - est31:const_char_convert, r=oli-obk 2021-11-19 13:06:31 +09:00
tests Rollup merge of #90909 - RalfJung:miri-no-portable-simd, r=workingjubilee 2021-11-16 09:14:23 +09:00
Cargo.toml