about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-06 15:50:13 +0000
committerbors <bors@rust-lang.org>2015-05-06 15:50:13 +0000
commit0848d1c6a5908a9c3e6545e8a527027b164c7d05 (patch)
treefa7cdab9a5eea0c262fad656336d42e5f91fe70e /src/rustllvm/RustWrapper.cpp
parent5a83fa271d9ea85bca163c26dc8896ac394976e4 (diff)
parent9b88cd1c691626bb38c243c1996d1d2d045bbeda (diff)
downloadrust-0848d1c6a5908a9c3e6545e8a527027b164c7d05.tar.gz
rust-0848d1c6a5908a9c3e6545e8a527027b164c7d05.zip
Auto merge of #25135 - alexcrichton:generalize-env-set-var, r=aturon
Many bounds are currently of the form `T: ?Sized + AsRef<OsStr>` where the
argument is `&T`, but the pattern elsewhere (primarily `std::fs`) has been to
remove the `?Sized` bound and take `T` instead (allowing usage with both
references and owned values). This commit generalizes the possible apis in
`std::env` from `&T` to `T` in this fashion.

The `split_paths` function remains the same as the return value borrows the
input value, so ta borrowed reference is required.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions