about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-01-23 10:37:27 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-01-25 12:26:36 +1100
commitef1e2228cfd9df4059aa44740b0659fea7c5a52f (patch)
tree34e6de0bb8e4a89ae673a2ec14918e8723562b9d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent4b4bdb575b8498b22729a522885ffadd0e646c0f (diff)
downloadrust-ef1e2228cfd9df4059aa44740b0659fea7c5a52f.tar.gz
rust-ef1e2228cfd9df4059aa44740b0659fea7c5a52f.zip
Use `from` instead of `into` in unescaping code.
The `T` type in these functions took me some time to understand, and I
find the explicit `T` in the use of `from` makes the code easier to
read, as does the `u8` annotation in `scan_escape`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions