Skip to content

Commit 5c6ef53

Browse files
swannodettefogus
andcommitted
Port CLJ-2290: Modified into docstring to mention 0 and 1-arities.
Co-authored-by: Fogus <mefogus@gmail.com>
1 parent eb1b827 commit 5c6ef53

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/cljs/cljs/core.cljs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5433,8 +5433,9 @@ reduces them without incurring seq initialization"
54335433
(rest (tree-seq sequential? seq x))))
54345434

54355435
(defn into
5436-
"Returns a new coll consisting of to-coll with all of the items of
5437-
from-coll conjoined. A transducer may be supplied."
5436+
"Returns a new coll consisting of to with all of the items of
5437+
from conjoined. A transducer may be supplied.
5438+
(into x) returns x. (into) returns []."
54385439
([] [])
54395440
([to] to)
54405441
([to from]

0 commit comments

Comments
 (0)