Skip to content

Commit b19c389

Browse files
committed
Replace @export_type with @TypeP in the docs
Elixir automatically generates corresponding @export_type attributes for public types
1 parent 2243235 commit b19c389

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/elixir/lib/module.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,13 @@ defmodule Module do
245245
end
246246
247247
The following attributes are part of typespecs and are also reserved by
248-
Elixir:
248+
Elixir (see `Kernel.Typespec` for more information about typespecs):
249249
250250
* `@type` - defines a type to be used in `@spec`
251+
* `@typep` - defines a private type to be used in `@spec`
252+
* `@opaque` - defines an opaque type to be used in `@spec`
251253
* `@spec` - provides a specification for a function
252254
* `@callback` - provides a specification for the behavior callback
253-
* `@export_type` - informs which types can be exported
254-
* `@opaque` - defines an opaque type to be used in `@spec`
255255
256256
In addition to the built-in attributes outlined above, custom attributes may
257257
also be added. A custom attribute is any valid identifier prefixed with an

0 commit comments

Comments
 (0)