From bab4ef10f0af7e6796a9dbde507b20b4cd455d0b Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Thu, 25 Jul 2024 19:13:02 +0200 Subject: [PATCH] fix at-main docstring to not code quote a compat box (#55242) (cherry picked from commit 157d4ee376cd44e42fb2c2c05886254f41b9d29b) --- base/client.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/client.jl b/base/client.jl index a0d3951391d5f..9ae18aa81eeff 100644 --- a/base/client.jl +++ b/base/client.jl @@ -608,10 +608,10 @@ module MyApp end const main = MyApp.main # `julia` Will *NOT* execute MyApp.main unless there is a separate `@main` annotation in `Main` +``` !!! compat "Julia 1.11" This macro is new in Julia 1.11. At present, the precise semantics of `@main` are still subject to change. -``` """ macro main(args...) if !isempty(args)