We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209b826 commit 462dc57Copy full SHA for 462dc57
lib/elixir/lib/module.ex
@@ -345,8 +345,9 @@ defmodule Module do
345
### Custom attributes
346
347
In addition to the built-in attributes outlined above, custom attributes may
348
- also be added. A custom attribute is any valid identifier prefixed with an
349
- `@` and followed by a valid Elixir value:
+ also be added. Custom attributes are expressed using the `@/1` operator followed
+ by a valid variable name. The value given to the custom attribute must be a valid
350
+ Elixir value:
351
352
defmodule MyModule do
353
@custom_attr [some: "stuff"]
0 commit comments