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-04-11 16:28:37 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-04-12 22:53:22 +0200
commited297777599081d11c4a337cf19c9b1a1112136b (patch)
tree3b0c4fd9a0e9f5e72cc8daf121d1b99b6db23154 /src/rustllvm/RustWrapper.cpp
parentfddf51ee0b9765484fc316dbf3d4feb8ceea715d (diff)
downloadrust-ed297777599081d11c4a337cf19c9b1a1112136b.tar.gz
rust-ed297777599081d11c4a337cf19c9b1a1112136b.zip
Remove conversions for allocated pointers
One was now unused, and `NonNull::new(…).ok_or(AllocErr)` feels short enough
for the few cases that need the other conversion.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions