1
Fork 0

add str::SplitInclusive::as_str method

This commit entroduces `core::str::SplitInclusive::as_str` method similar to
`core::str::Split::as_str`, but under different gate -
"str_split_inclusive_as_str" (this is done so because `SplitInclusive` is
itself unstable).
This commit is contained in:
Waffle 2020-10-01 23:39:20 +03:00
parent 4747215d77
commit 076514c8a8
2 changed files with 24 additions and 3 deletions

View file

@ -126,6 +126,7 @@
#![feature(std_internals)]
#![feature(stmt_expr_attributes)]
#![feature(str_split_as_str)]
#![feature(str_split_inclusive_as_str)]
#![feature(transparent_unions)]
#![feature(unboxed_closures)]
#![feature(unsized_locals)]