diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-05-30 21:06:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-30 21:06:51 +0200 |
| commit | b0f2a4c6604bd228c570c3c97dc99272a531a70f (patch) | |
| tree | 1122b621fe83d548d8a73d5107333fa1477acf0f /compiler/rustc_codegen_llvm/src | |
| parent | 2d30bc78daa5e1fac13863218bd43a0be8a2e7c9 (diff) | |
| parent | 23f9b92c5e3fd6dcff19fb185b64990f0336a8bf (diff) | |
| download | rust-b0f2a4c6604bd228c570c3c97dc99272a531a70f.tar.gz rust-b0f2a4c6604bd228c570c3c97dc99272a531a70f.zip | |
Rollup merge of #85801 - WaffleLapkin:master, r=joshtriplett
Add `String::extend_from_within`
This PR adds `String::extend_from_within` function under the `string_extend_from_within` feature gate similar to the [`Vec::extend_from_within`] function.
```rust
// String
pub fn extend_from_within<R>(&mut self, src: R)
where
R: RangeBounds<usize>;
```
[`Vec::extend_from_within`]: https://github.com/rust-lang/rust/issues/81656
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
