diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2016-08-17 17:41:33 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2016-08-29 17:34:02 +0200 |
| commit | 41d0a89e3ad99a9fdf700ea7d15750fe1cbfab14 (patch) | |
| tree | b837e9f2c8401f2a2ef300d2a2973e43231b69c3 /src/rustllvm/RustWrapper.cpp | |
| parent | 86dde9bbda92c02c61282b5df5d38338a798ef3b (diff) | |
| download | rust-41d0a89e3ad99a9fdf700ea7d15750fe1cbfab14.tar.gz rust-41d0a89e3ad99a9fdf700ea7d15750fe1cbfab14.zip | |
Implement From<char> for u32, and From<u8> for char
These fit with other From implementations between integer types. This helps the coding style of avoiding the 'as' operator that sometimes silently truncates, and signals that these specific conversions are lossless and infaillible.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
