aboutsummaryrefslogtreecommitdiff
path: root/src/clojure
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2009-05-03 18:03:35 +0000
committerStuart Sierra <mail@stuartsierra.com>2009-05-03 18:03:35 +0000
commit0a960a9e64b522606c1ff10218c111ccb9a828a3 (patch)
tree67a6b0f7e45937f8aa38eb5a3ac0f812f5997637 /src/clojure
parentab400a39add4f7d5c1df9bd308e179c5eff124b5 (diff)
duck_streams.clj: corrected doc string for "file-str"
Diffstat (limited to 'src/clojure')
-rw-r--r--src/clojure/contrib/duck_streams.clj6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clojure/contrib/duck_streams.clj b/src/clojure/contrib/duck_streams.clj
index a0676224..b9bcfda8 100644
--- a/src/clojure/contrib/duck_streams.clj
+++ b/src/clojure/contrib/duck_streams.clj
@@ -55,9 +55,9 @@
(def *default-encoding* "UTF-8")
(defn #^File file-str
- "Concatenates args as strings returns a java.io.File. Replaces all
- / and \\ with File/separatorChar. Replaces ~ at the start of the
- path with the user.home system property."
+ "Concatenates args as strings and returns a java.io.File. Replaces
+ all / and \\ with File/separatorChar. Replaces ~ at the start of
+ the path with the user.home system property."
[& args]
(let [#^String s (apply str args)
s (.replaceAll (re-matcher #"[/\\]" s) File/separator)