diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2024-02-29 05:25:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-29 05:25:26 -0500 |
| commit | 6d865038a551fb675235c64fe10b23fa265e96a1 (patch) | |
| tree | 33e1be88b0ab7c62cad3d7b6e6f49287aedbcdbe /compiler/rustc_pattern_analysis/src | |
| parent | 06d487888bf51cdd4255004065aa73c465617902 (diff) | |
| parent | 5d59d0c7d725fe259b652bb9e9d17e6cbe1919af (diff) | |
| download | rust-6d865038a551fb675235c64fe10b23fa265e96a1.tar.gz rust-6d865038a551fb675235c64fe10b23fa265e96a1.zip | |
Rollup merge of #120291 - pitaj:string-sliceindex, r=Amanieu
Have `String` use `SliceIndex` impls from `str` This PR simplifies the implementation of `Index` and `IndexMut` on `String`, and in the process enables indexing `String` by any user types that implement `SliceIndex<str>`. Similar to #47832 r? libs Not sure if this warrants a crater run.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
