Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Nov 26, 2024
1 parent 18d9232 commit 2a9228d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/macro.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a9228d

Please sign in to comment.