Skip to content

Commit

Permalink
Adjust documentation for get_compute
Browse files Browse the repository at this point in the history
  • Loading branch information
hmmdyl committed Jul 16, 2021
1 parent 48b22e2 commit 442639a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/drecord.d
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private mixin template get_setImpl(alias type, string name, args...)
+ type: Type of the field
+ name: Name of the field
+ construct: A lambda value that sets this field
+ Notice: the construct lambda must accept the record as its first parameter
+ Notice: the construct lambda must accept the record as its only parameter
+ and return the field value.
++/
template get_compute(alias type, string name, alias construct)
Expand Down

0 comments on commit 442639a

Please sign in to comment.