Skip to content

Commit

Permalink
Fix code-blocks in def-record docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Till Rauch committed May 14, 2024
1 parent b578bec commit 70c7754
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/active/data/record.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,12 @@

(defmacro def-record
"
```
Defines a record and its keys, optionally giving a realm for each key:
```
(def-record T
[f1 :- realm/int,
f2 :- realm/string])
```
A corresponding instance can be created by using the record as a function:
```
Expand Down

0 comments on commit 70c7754

Please sign in to comment.