summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorJanek Bogucki <janekdb@gmail.com>2016-05-25 11:03:47 +0100
committerJanek Bogucki <janekdb@gmail.com>2016-05-25 11:03:47 +0100
commit450df0e4225da325b1a68461d8eb852bc1e61cbc (patch)
tree7aad2ea807b27a6a10bf04935ce7d548798a4cc8 /src/library
parent734c5ad3df5602d52a4be02eaef773d347f742df (diff)
downloadscala-450df0e4225da325b1a68461d8eb852bc1e61cbc.tar.gz
scala-450df0e4225da325b1a68461d8eb852bc1e61cbc.tar.bz2
scala-450df0e4225da325b1a68461d8eb852bc1e61cbc.zip
Use full braces style in AnsiColor example
This matches the use of ${..} in Console.
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/io/AnsiColor.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/io/AnsiColor.scala b/src/library/scala/io/AnsiColor.scala
index 720049ba8e..df589bc66c 100644
--- a/src/library/scala/io/AnsiColor.scala
+++ b/src/library/scala/io/AnsiColor.scala
@@ -13,7 +13,7 @@ package io
*
* object ColorDemo extends App {
*
- * println(s"$REVERSED${BOLD}Hello 1979!$RESET")
+ * println(s"${REVERSED}${BOLD}Hello 1979!${RESET}")
* }
* }}}
*