diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-01-15 14:18:07 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-01-15 14:18:07 -0800 |
commit | 9cb5ed81e15b536b6779dc1b1157703ef5c5aeab (patch) | |
tree | bb20a9805ddb8450bae100ebcfacd157bb79cc4c /src | |
parent | 97be1ddf7170bb8c4f8cf71d73a9d49f27523d16 (diff) | |
parent | af75be6034b7949858be89f27520dabeef9a5283 (diff) | |
download | scala-9cb5ed81e15b536b6779dc1b1157703ef5c5aeab.tar.gz scala-9cb5ed81e15b536b6779dc1b1157703ef5c5aeab.tar.bz2 scala-9cb5ed81e15b536b6779dc1b1157703ef5c5aeab.zip |
Merge pull request #3362 from som-snytt/issue/7544-scaladoc
SI-7544 StringContext.f docs update
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/StringContext.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/library/scala/StringContext.scala b/src/library/scala/StringContext.scala index 70f95750da..2d79452c5d 100644 --- a/src/library/scala/StringContext.scala +++ b/src/library/scala/StringContext.scala @@ -157,9 +157,8 @@ case class StringContext(parts: String*) { * If a formatting position does not refer to a `%` character (which is assumed to * start a format specifier), then the string format specifier `%s` is inserted. * - * 2. Any `%` characters not in formatting positions are left in the resulting - * string literally. This is achieved by replacing each such occurrence by the - * format specifier `%%`. + * 2. Any `%` characters not in formatting positions must begin one of the conversions + * `%%` (the literal percent) or `%n` (the platform-specific line separator). */ // The implementation is hardwired to `scala.tools.reflect.MacroImplementations.macro_StringInterpolation_f` // Using the mechanism implemented in `scala.tools.reflect.FastTrack` |