diff options
author | Paul Phillips <paulp@improving.org> | 2010-02-09 18:37:44 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-02-09 18:37:44 +0000 |
commit | ebceb2fa8dbbf61352ce01769931950177a4a9ef (patch) | |
tree | f97dab3a10637055703be35b8e8ef5dc7a6e09f5 | |
parent | 71e03e4aca90be26290ab222d2d5131c5b2d42db (diff) | |
download | scala-ebceb2fa8dbbf61352ce01769931950177a4a9ef.tar.gz scala-ebceb2fa8dbbf61352ce01769931950177a4a9ef.tar.bz2 scala-ebceb2fa8dbbf61352ce01769931950177a4a9ef.zip |
No double-processing format strings.
-rw-r--r-- | src/library/scala/Predef.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Predef.scala b/src/library/scala/Predef.scala index 5684c91aaa..760d215d3f 100644 --- a/src/library/scala/Predef.scala +++ b/src/library/scala/Predef.scala @@ -150,7 +150,7 @@ object Predef extends LowPriorityImplicits { def print(x: Any) = Console.print(x) def println() = Console.println() def println(x: Any) = Console.println(x) - def printf(text: String, xs: Any*) = Console.printf(format(text, xs: _*)) + def printf(text: String, xs: Any*) = Console.print(format(text, xs: _*)) def format(text: String, xs: Any*) = augmentString(text).format(xs: _*) def readLine(): String = Console.readLine() |