summaryrefslogtreecommitdiff
path: root/src/library/scala/StringContext.scala
diff options
context:
space:
mode:
authorDan Garrette <dhgarrette@gmail.com>2014-07-21 09:01:43 -0500
committerDan Garrette <dhgarrette@gmail.com>2014-07-21 09:01:43 -0500
commit7a1863e7d2a7db5ab0ceecde436ab6d63e03a9f1 (patch)
tree9154300c89a4013b863175a5db0071628b826681 /src/library/scala/StringContext.scala
parent73fb460c1cd20ee97556ec0867d17efaa795d129 (diff)
downloadscala-7a1863e7d2a7db5ab0ceecde436ab6d63e03a9f1.tar.gz
scala-7a1863e7d2a7db5ab0ceecde436ab6d63e03a9f1.tar.bz2
scala-7a1863e7d2a7db5ab0ceecde436ab6d63e03a9f1.zip
Remove "throws InvalidEscapeException" from StringContext.raw doc
Since StringContext.raw doesn't escape its input, it does not call `treatEscapes` and cannot throw the InvalidEscapeException.
Diffstat (limited to 'src/library/scala/StringContext.scala')
-rw-r--r--src/library/scala/StringContext.scala2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/library/scala/StringContext.scala b/src/library/scala/StringContext.scala
index c0468e8b02..a99b9503ac 100644
--- a/src/library/scala/StringContext.scala
+++ b/src/library/scala/StringContext.scala
@@ -112,8 +112,6 @@ case class StringContext(parts: String*) {
* @throws An `IllegalArgumentException`
* if the number of `parts` in the enclosing `StringContext` does not exceed
* the number of arguments `arg` by exactly 1.
- * @throws A `StringContext.InvalidEscapeException` if a `parts` string contains a backslash (`\`) character
- * that does not start a valid escape sequence.
*/
def raw(args: Any*): String = standardInterpolator(identity, args)