about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-02 07:11:07 +0100
committerGitHub <noreply@github.com>2022-02-02 07:11:07 +0100
commita3deca46754448ff3dfbbd0487e249b98e753a11 (patch)
tree5b94ff1abaa491cf5640f06257de5cef92e72e71 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent2484cb8327e3138ac8d7ca32b372a6ddaa928339 (diff)
parentd372baf3f9a6401fdd4f74e3385ba553667b287d (diff)
downloadrust-a3deca46754448ff3dfbbd0487e249b98e753a11.tar.gz
rust-a3deca46754448ff3dfbbd0487e249b98e753a11.zip
Rollup merge of #93493 - GKFX:char-docs-2, r=scottmcm
Document valid values of the char type

As discussed at #93392, the current documentation on what constitutes a valid char isn't very detailed and is partly on the MAX constant rather than the type itself.

This PR expands on that information, stating the actual numerical range, giving examples of what won't work, and also mentions how a `char` might be a valid USV but still not be a defined character (terminology checked against [Unicode 14.0, table 2-3](https://www.unicode.org/versions/Unicode14.0.0/ch02.pdf#M9.61673.TableTitle.Table.22.Types.of.Code.Points)).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions