Closed
Description
https://doc.rust-lang.org/nightly/std/primitive.str.html#method.get_mut
The doc example should demonstrate the effects of mutating the resulting string slice.
The easiest way I've found to demonstrate mutability with doc examples for str
is to use AsciiExt
: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_at_mut