Writing `String((*self).as_slice().into_owned())` will be more efficient.