diff options
| author | huangjiahua <jiahua.h@outlook.com> | 2020-04-18 14:58:38 +0800 |
|---|---|---|
| committer | huangjiahua <jiahua.h@outlook.com> | 2020-04-18 14:58:38 +0800 |
| commit | 1a1863b815d0db6aa1751e88e7044e9e2f02ac51 (patch) | |
| tree | d1fceb8380c43ee54f721a0b694479f83faffcf8 /src/rustllvm/RustWrapper.cpp | |
| parent | 4e4d49d60fd696c4036d438292673a2d7fd34519 (diff) | |
| download | rust-1a1863b815d0db6aa1751e88e7044e9e2f02ac51.tar.gz rust-1a1863b815d0db6aa1751e88e7044e9e2f02ac51.zip | |
Add example in the alternative in std::mem::transmute docs
It is safer to use `from_ne_bytes` to convert raw bytes to type like u32.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
