diff options
author | Stuart Sierra <mail@stuartsierra.com> | 2009-05-03 18:03:35 +0000 |
---|---|---|
committer | Stuart Sierra <mail@stuartsierra.com> | 2009-05-03 18:03:35 +0000 |
commit | 0a960a9e64b522606c1ff10218c111ccb9a828a3 (patch) | |
tree | 67a6b0f7e45937f8aa38eb5a3ac0f812f5997637 /src/clojure | |
parent | ab400a39add4f7d5c1df9bd308e179c5eff124b5 (diff) |
duck_streams.clj: corrected doc string for "file-str"
Diffstat (limited to 'src/clojure')
-rw-r--r-- | src/clojure/contrib/duck_streams.clj | 6 |
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) |