Skip to content

Commit 8f4d569

Browse files
committed
fixup! correct and update docs for defining generated functions
1 parent 58967c9 commit 8f4d569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/manual/metaprogramming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ These examples are hopefully helpful to illustrate how generated functions
10341034
work, both in the definition end and at the call site; however, *don't
10351035
copy them*, for the following reasons:
10361036

1037-
* the ``foo`` function has side-effects (the call to `Core.println`), and it is undefined exactly when,
1037+
* the ``foo`` function has side-effects (the call to ``Core.println``), and it is undefined exactly when,
10381038
how often or how many times these side-effects will occur
10391039
* the ``bar`` function solves a problem that is better solved with multiple
10401040
dispatch - defining ``bar(x) = x`` and ``bar(x::Integer) = x ^ 2`` will do

0 commit comments

Comments
 (0)