Skip to content

Commit 4056134

Browse files
authored
Merge pull request #721 from uvtc/patch-1
docs for doc, searching for strings
2 parents 4f00a7d + e356b71 commit 4056134

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/boot/boot.janet

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3053,10 +3053,10 @@
30533053
(print-index identity)))
30543054

30553055
(defmacro doc
3056-
`Shows documentation for the given symbol, or can show a list of available bindings.
3057-
If sym is a symbol, will look for documentation for that symbol. If sym is a string
3058-
or is not provided, will show all lexical and dynamic bindings in the current environment with
3059-
that prefix (all bindings will be shown if no prefix is given).`
3056+
``Shows documentation for the given symbol, or can show a list of available bindings.
3057+
If `sym` is a symbol, will look for documentation for that symbol. If `sym` is a string
3058+
or is not provided, will show all lexical and dynamic bindings in the current environment
3059+
containing that string (all bindings will be shown if no string is given).``
30603060
[&opt sym]
30613061
~(,doc* ',sym))
30623062

0 commit comments

Comments
 (0)