about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-01 17:44:25 +0000
committerbors <bors@rust-lang.org>2018-08-01 17:44:25 +0000
commitc4156768aa1f23117903e6954f3e9ba946f49295 (patch)
treee22d966ac5200de4a095cd9e1bc50358903ffac2 /src/rustllvm/RustWrapper.cpp
parent11f812aa7d1df09724f94c2b095f6dbfd367da17 (diff)
parent5150ff0c729b5af88da8f45f15bef1b95ba70c08 (diff)
downloadrust-c4156768aa1f23117903e6954f3e9ba946f49295.tar.gz
rust-c4156768aa1f23117903e6954f3e9ba946f49295.zip
Auto merge of #51609 - dscorbett:is_numeric, r=alexcrichton
Treat gc=No characters as numeric

[`char::is_numeric`](https://doc.rust-lang.org/std/primitive.char.html#method.is_numeric) and [`char::is_alphanumeric`](https://doc.rust-lang.org/std/primitive.char.html#method.is_alphanumeric) are documented to be defined “in terms of the Unicode General Categories 'Nd', 'Nl', 'No'”, but unicode.py does not group 'No' with the other 'N' categories. These functions therefore currently return `false` for characters like ⟨¾⟩ and ⟨①⟩.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions