Don't mutate a string literal in main code sample by byroot · Pull Request #3703 · ruby/www.ruby-lang.org

I know this is still being debated, but as of the current version of Ruby, the first code sample does emit a deprecation warning (hidden by default but still). I think it's would be better to n...