about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorRyan Lopopolo <rjl@hyperbo.la>2021-02-14 15:01:46 -0800
committerRyan Lopopolo <rjl@hyperbo.la>2021-02-14 15:01:46 -0800
commit3ed618443437307749e4c773f260c2b4b94673f5 (patch)
treec8af64505f0c06eb27b35413bf8978e4451e819a /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent5fa22fe6f821ac3801d05f624b123dda25fde32c (diff)
downloadrust-3ed618443437307749e4c773f260c2b4b94673f5.tar.gz
rust-3ed618443437307749e4c773f260c2b4b94673f5.zip
Implement Extend and FromIterator for OsString
Add the following trait impls:

- `impl Extend<OsString> for OsString`
- `impl<'a> Extend<&'a OsStr> for OsString`
- `impl FromIterator<OsString> for OsString`
- `impl<'a> FromIterator<&'a OsStr> for OsString`

Because `OsString` is a platform string with no particular semantics,
concatenating them together seems acceptable.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions