about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std/enum-option.js
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-02-13 13:46:45 -0800
committerJosh Stone <jistone@redhat.com>2019-02-13 13:46:45 -0800
commit70c5af85e09be583128df5eda6b4de25a23387c1 (patch)
treed8bc8228e9f2fdf3b90f18d071bf99ab888065e3 /src/test/rustdoc-js-std/enum-option.js
parente54494727855cd14229f5d456591ed2a2f027c46 (diff)
downloadrust-70c5af85e09be583128df5eda6b4de25a23387c1.tar.gz
rust-70c5af85e09be583128df5eda6b4de25a23387c1.zip
Avoid allocation in std::sys::unix::weak
If we add a terminating NUL to the name in the `weak!` macro, then
`fetch()` can use `CStr::from_bytes_with_nul()` instead of `CString`.
Diffstat (limited to 'src/test/rustdoc-js-std/enum-option.js')
0 files changed, 0 insertions, 0 deletions