Skip to content

Commit

Permalink
macros: improve stamp short description
Browse files Browse the repository at this point in the history
Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
  • Loading branch information
alaviss and saem authored Aug 21, 2024
1 parent 4154000 commit c187d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/macros.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ proc extractDocCommentsAndRunnables*(n: NimNode): NimNode =
else: break

macro stamp*(body: untyped): NimNode =
## Accepts a template body and returns the AST that represents it.
## Accepts a template body, immediately applies it, and returns the resulting AST.
##
## Identifiers within `body` are bound to symbols from the caller's scope in
## the same fashion as a template. As a special case, `result` is excluded
Expand Down

0 comments on commit c187d6e

Please sign in to comment.