about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJack O'Connor <oconnor663@gmail.com>2016-02-15 20:18:16 -0500
committerJack O'Connor <oconnor663@gmail.com>2016-02-15 21:28:54 -0500
commit071b4b6f7b162e92711677846dcfb1736f3b9440 (patch)
tree617509e99f81e32a1510c72ea1fb4b490120b60d /src/rustllvm/RustWrapper.cpp
parent17d284b4b5af8aa2d58c3bf05b937d5b9d1adeb0 (diff)
downloadrust-071b4b6f7b162e92711677846dcfb1736f3b9440.tar.gz
rust-071b4b6f7b162e92711677846dcfb1736f3b9440.zip
correct the primitive char doc's use of bytes and code points
Previously the docs suggested that '❤️' doesn't fit in a char because
it's 6 bytes. But that's misleading. 'a̚' also doesn't fit in a char,
even though it's only 3 bytes. The important thing is the number of code
points, not the number of bytes. Clarify the primitive char docs around
this.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions