about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2019-02-20 01:13:31 +0800
committerkennytm <kennytm@gmail.com>2019-02-20 11:58:55 +0800
commitc965858e206019ae8ca4047feb5563150acd82a0 (patch)
treee45a343e2f924057df7686389c4314c6efb7aa8d /src/rustllvm/RustWrapper.cpp
parenta68a1c758d288a9aabec5e1f2fdb6ae1e4c8ae19 (diff)
parentc9fbcc1f39f2c37a6d0a40ca8c2462d934a9fc60 (diff)
downloadrust-c965858e206019ae8ca4047feb5563150acd82a0.tar.gz
rust-c965858e206019ae8ca4047feb5563150acd82a0.zip
Rollup merge of #58539 - aaronstillwell:master, r=Mark-Simulacrum
Add alias methods to PathBuf for underlying OsString (#58234)

Implemented the following methods on PathBuf which forward to the underlying OsString.

- capacity
- with_capacity
- clear
- reserve
- reserve_exact
- shrink_to_fit
- shrink_to

These methods have been documented with reference to the original docs for `OsString`. @Mark-Simulacrum please let me know if you feel this does not suffice.

Further, I've not yet included tests for these definitions - please advise on how comprehensive tests need to be for methods such as these that simply alias other (already tested) methods.

(This PR addresses issue #58234)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions