[SR-11999] Substring.UTF8View does not provide an implementation for withContiguousStorageIfAvailable #54434
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 0e12af38d6e41ffcc6bfa3efeeec376e
Issue Description:
While
String
is very good at providing fast access to its backing storage,Substring
is less friendly. Try running the program below:I would expect the output to be:
But instead I get
The text was updated successfully, but these errors were encountered: