about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorWaffle <waffle.lapkin@gmail.com>2020-10-01 20:06:44 +0300
committerWaffle <waffle.lapkin@gmail.com>2020-10-01 22:53:15 +0300
commit0b923d3ca0b7f5a1a611564ee48c1e92f896d79e (patch)
treea48bb41e1e50e277b65e4bf8c47628a04449d126 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff
parent9cba260df0f1c67ea3690035cd5611a7465a1560 (diff)
downloadrust-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 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions