summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabiwara <sabiwara@gmail.com>2023-03-10 09:29:33 +0900
committerGitHub <noreply@github.com>2023-03-10 01:29:33 +0100
commit670a5e9ac6d6249c3f2fc6a66f65b320bcbc6752 (patch)
tree1217aa7785859d5fae11efc0503d3108f1c06d17
parentc2ad388954521a579ed31d84ab813431fe15db60 (diff)
downloadelixir-670a5e9ac6d6249c3f2fc6a66f65b320bcbc6752.tar.gz
Document supported version for __info__(:struct) (#12458)
-rw-r--r--lib/elixir/lib/module.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elixir/lib/module.ex b/lib/elixir/lib/module.ex
index fed13396a..5113d4cd4 100644
--- a/lib/elixir/lib/module.ex
+++ b/lib/elixir/lib/module.ex
@@ -579,7 +579,7 @@ defmodule Module do
* `:module` - the module atom name
- * `:struct` - if the module defines a struct and if so each field in order
+ * `:struct` - (since v1.14.0) if the module defines a struct and if so each field in order
"""
@callback __info__(:attributes) :: keyword()