summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library/scala/Console.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/Console.scala b/src/library/scala/Console.scala
index bcff65c84c..7cc8e9d4e9 100644
--- a/src/library/scala/Console.scala
+++ b/src/library/scala/Console.scala
@@ -171,12 +171,12 @@ object Console {
* @param args the parameters used to instantiate the format.
*/
// todo: Uncurry
-/* def printf(text: String)(args: Any*): Unit =
+ def printf(text: String)(args: Any*): Unit =
out.print(
if (text eq null) "null"
else MessageFormat.format(text, textParams(args))
)
-*/
+
/** Read a full line from the terminal.
*
* @return the string read from the terminal.