]> git.lizzy.rs Git - rust.git/commit
Make char methods const
authorYenForYang <YenForYang@users.noreply.github.com>
Mon, 30 Nov 2020 02:16:31 +0000 (20:16 -0600)
committerRyan Lopopolo <rjl@hyperbo.la>
Tue, 23 Feb 2021 15:18:45 +0000 (07:18 -0800)
commitbcb1f068bc7177b1e02d64be6f01d4a50111149e
tree517124f120b4571966c6fc879c854ca71ad8f6fd
parent446d4533e89db04f9568be4199e56b5fce0d176d
Make char methods const

`escape_unicode`, `escape_default`, `len_utf8`, `len_utf16`, to_ascii_lowercase`, `eq_ignore_ascii_case`

`u8` methods `to_ascii_lowercase`, `to_ascii_uppercase` also must be made const

u8 methods made const

Update methods.rs

Update mod.rs

Update methods.rs

Fix `since` in rustc_const_stable to next stable

Fix `since` in rustc_const_stable to next stable

Update methods.rs

Update mod.rs
library/core/src/char/methods.rs
library/core/src/num/mod.rs