From 2a9228d60e9e5ad843ed23c24bbb8f0c8f9dada0 Mon Sep 17 00:00:00 2001 From: CarloLucibello Date: Tue, 26 Nov 2024 08:11:58 +0100 Subject: [PATCH] cleanup --- src/layers/macro.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layers/macro.jl b/src/layers/macro.jl index b76f41570a..8ab26102f2 100644 --- a/src/layers/macro.jl +++ b/src/layers/macro.jl @@ -63,7 +63,7 @@ function _layer_macro(exs...) elseif exs[1] == QuoteNode(:ignore) exs[2:end] elseif exs[1] isa QuoteNode - error("`@layer` accepts only the option `:ignore` before the layer type (to control `show`).") + error("`@layer` accepts only the options `:ignore`, `:noexpand`, and `:expand` before the layer type (to control `show`).") else push!(out.args, _macro_big_show(esc(exs[1]))) exs