Skip to content

Commit 089b25a

Browse files
committed
Update some docs
1 parent 9710309 commit 089b25a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rewrite_clj/zip/zip.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
(:refer-clojure :exclude (replace remove next))
1717
(:require [rewrite-clj.node.protocols :as node]))
1818

19-
(defn zipper
19+
(defn ^:no-doc zipper
2020
"Creates a new zipper structure."
2121
[root]
2222
{:node root
@@ -42,14 +42,14 @@
4242
(seq (node/children node))
4343
(throw (Exception. "called children on a leaf node"))))
4444

45-
(defn make-node
45+
(defn ^:no-doc make-node
4646
"Returns a new branch node, given an existing node and new
4747
children. The loc is only used to supply the constructor."
4848
[loc node children]
4949
(node/replace-children node children))
5050

5151
(defn position
52-
"Returns [row col] of the start of the current node"
52+
"Returns the ones-based [row col] of the start of the current node"
5353
[loc]
5454
(:position loc))
5555

0 commit comments

Comments
 (0)