about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJakub Onderka <ahoj@jakubonderka.cz>2019-01-18 19:08:31 +0100
committerGitHub <noreply@github.com>2019-01-18 19:08:31 +0100
commit87f5a98a5d8f29d1a631cd06a39863a1e494b4d7 (patch)
tree3005f7f5a5cdf3daf142a114d817217d6d91e48f /src/rustllvm/RustWrapper.cpp
parent527b8d424392dd7d89cfaa4dfdaec4df226c8018 (diff)
downloadrust-87f5a98a5d8f29d1a631cd06a39863a1e494b4d7.tar.gz
rust-87f5a98a5d8f29d1a631cd06a39863a1e494b4d7.zip
Use `to_ne_bytes` for converting IPv4Address to octets
It is easier and it should be also faster, because `to_ne_bytes` just calls `mem::transmute`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions