Remove the docstring from defcstruct
This commit is contained in:
parent
8889da56b2
commit
3ae1d6840f
1 changed files with 2 additions and 2 deletions
|
|
@ -1148,7 +1148,7 @@
|
||||||
(s/def ::defcstruct-args
|
(s/def ::defcstruct-args
|
||||||
(s/cat :struct-name qualified-keyword?
|
(s/cat :struct-name qualified-keyword?
|
||||||
;:layout (s/? keyword?)
|
;:layout (s/? keyword?)
|
||||||
:docstring (s/? string?)
|
;:docstring (s/? string?)
|
||||||
:fields (s/* (s/cat :field-name simple-keyword?
|
:fields (s/* (s/cat :field-name simple-keyword?
|
||||||
:field-type ::type))))
|
:field-type ::type))))
|
||||||
|
|
||||||
|
|
@ -1158,7 +1158,7 @@
|
||||||
The fields are provided as keyword args.
|
The fields are provided as keyword args.
|
||||||
|
|
||||||
Currently no padding is provided into the structure."
|
Currently no padding is provided into the structure."
|
||||||
{:arglists '([struct-name docstring? & fields])}
|
{:arglists '([struct-name & fields])}
|
||||||
[& args]
|
[& args]
|
||||||
;; TODO(Joshua): Support adding padding to the structure (and make it
|
;; TODO(Joshua): Support adding padding to the structure (and make it
|
||||||
;; extensible?)
|
;; extensible?)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue