about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-03-23 13:36:08 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-03-26 23:34:22 +0200
commit2178ef8b220daec3228f6f4dae60787e506fa089 (patch)
tree2fac7941468b3e8fa8431f426693398ec7aafd91 /src/rustllvm/RustWrapper.cpp
parent188e693b392116c46f746e86f8521f9621fcfd43 (diff)
downloadrust-2178ef8b220daec3228f6f4dae60787e506fa089.tar.gz
rust-2178ef8b220daec3228f6f4dae60787e506fa089.zip
TryFrom for integers: use From instead for truely-infallible impls
There is precendent in C for having a minimum pointer size, but I don’t feel confident enough about the future to mandate a maximum.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions