From a93767961c8fda678adf8a290a02939275553f19 Mon Sep 17 00:00:00 2001 From: Ches Martin Date: Tue, 22 Oct 2013 20:22:42 +0700 Subject: [PATCH] Docs: fix taskKey usage in Custom Settings example Following commentary on 126f41c0ac1 --- src/sphinx/Getting-Started/Custom-Settings.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sphinx/Getting-Started/Custom-Settings.rst b/src/sphinx/Getting-Started/Custom-Settings.rst index 59107d452..e5a87af8d 100644 --- a/src/sphinx/Getting-Started/Custom-Settings.rst +++ b/src/sphinx/Getting-Started/Custom-Settings.rst @@ -51,9 +51,9 @@ with a task definition. You could be defining your own task, or you could be planning to redefine an existing task. Either way looks the same; use `:=` to associate some code with the task key: :: - val sampleStringTask = settingKey[String]("A sample string task.") + val sampleStringTask = taskKey[String]("A sample string task.") - val sampleIntTask = settingKey[String]("A sample int task.") + val sampleIntTask = taskKey[Int]("A sample int task.") sampleStringTask := System.getProperty("user.home")