diff --git a/README.adoc b/README.adoc index 56558cc6..73048df3 100644 --- a/README.adoc +++ b/README.adoc @@ -4876,9 +4876,9 @@ message = "This is the #{result}." === String Concatenation [[concat-strings]] -Avoid using `String#+` when you need to construct large data chunks. +Avoid using `pass:[String#+]` when you need to construct large data chunks. Instead, use `String#<<`. -Concatenation mutates the string instance in-place and is always faster than `String#+`, which creates a bunch of new string objects. +Concatenation mutates the string instance in-place and is always faster than `pass:[String#+]`, which creates a bunch of new string objects. [source,ruby] ----