fn index_mut(&mut self, index: ops::RangeFrom<usize>) -> &mut str {
        &mut self[..][index]
    }
# Panics

In this implementation, the `to_string` method panics
if the `Display` implementation retu
benchmarks/haystacks/code/rust-library.rs