summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2011-03-18 13:43:27 -0400
committerRich Hickey <richhickey@gmail.com>2011-03-18 13:43:27 -0400
commitecae8ff08a298777c365a261001adfe9bfa4d83c (patch)
treee1c8531ff7a4f83d07c90dca59b98aa24bc37cb6
parent84710838d6996d9144d83c5b659bdeda4c656100 (diff)
fixed doc typo on deref
-rw-r--r--src/clj/clojure/core.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj
index 847fbe74..0f6a332a 100644
--- a/src/clj/clojure/core.clj
+++ b/src/clj/clojure/core.clj
@@ -2011,7 +2011,7 @@
computation not complete. When applied to a promise, will block
until a value is delivered. The variant taking a timeout can be
used for blocking references (futures and promises), and will return
- timeout-val of the timeout (in milliseconds) is reached before a
+ timeout-val if the timeout (in milliseconds) is reached before a
value is available. See also - realized?."
{:added "1.0"
:static true}
@@ -5844,7 +5844,7 @@
invoke the function in another thread, and will cache the result and
return it on all subsequent calls to deref/@. If the computation has
not yet finished, calls to deref/@ will block, unless the variant
- with timeout is used. See also - realized?."
+ of deref with timeout is used. See also - realized?."
{:added "1.1"
:static true}
[f]