Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Visciano committed Jul 23, 2021
1 parent ca48a4d commit 1faa45c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ defmodule Person do
@type t :: %__MODULE__{
name: String.t(),
surname: String.t(),
gender: opt(:male | :female | :other),
address: opt(nonempty_list(Address.t()))
gender: option(:male | :female | :other),
address: option(nonempty_list(Address.t()))
}

@type opt(x) :: nil | x
@type option(x) :: nil | x
end

defmodule Address do
Expand Down

0 comments on commit 1faa45c

Please sign in to comment.