Skip to content

Commit 777c5e3

Browse files
authored
docs: parenthesis no longer required when using @main (#59787)
1 parent cd80167 commit 777c5e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/client.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,8 +627,8 @@ entrypoint. The precise semantics of the entrypoint depend on the CLI driver.
627627
In the `julia` driver, if `Main.main` is marked as an entrypoint, it will be automatically called upon
628628
the completion of script execution.
629629
630-
The `@main` macro may be used standalone or as part of the function definition, though in the latter
631-
case, parentheses are required. In particular, the following are equivalent:
630+
The `@main` macro may be used standalone or as part of the function definition.
631+
The following are equivalent:
632632
633633
```
634634
function @main(args)

0 commit comments

Comments
 (0)