Skip to content

Commit

Permalink
Fix typo in Typespecs reference (elixir-lang#13282)
Browse files Browse the repository at this point in the history
  • Loading branch information
benswift authored Jan 25, 2024
1 parent 75ac733 commit f7b17e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/pages/references/typespecs.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ It also allows composition with existing types.
For example:

```elixir
type option :: {:my_option, String.t()} | GenServer.option()
@type option :: {:my_option, String.t()} | GenServer.option()

@spec start_link([option()]) :: GenServer.on_start()
def start_link(opts) do
Expand Down

0 comments on commit f7b17e6

Please sign in to comment.