diff options
| author | Waffle <waffle.lapkin@gmail.com> | 2020-10-01 20:06:44 +0300 |
|---|---|---|
| committer | Waffle <waffle.lapkin@gmail.com> | 2020-10-01 22:53:15 +0300 |
| commit | 0b923d3ca0b7f5a1a611564ee48c1e92f896d79e (patch) | |
| tree | a48bb41e1e50e277b65e4bf8c47628a04449d126 /src/test/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff | |
| parent | 9cba260df0f1c67ea3690035cd5611a7465a1560 (diff) | |
| download | rust-0b923d3ca0b7f5a1a611564ee48c1e92f896d79e.tar.gz rust-0b923d3ca0b7f5a1a611564ee48c1e92f896d79e.zip | |
add `str::{Split,RSplit}::as_str` methods
This commit introduses 2 methods under "str_split_as_str" gate with common signature of `&Split<'a, _> -> &'a str'`. Both of them work like `Chars::as_str` - return unyield part of the inner string.
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
