diff options
author | href <href@random.sh> | 2021-09-01 10:30:18 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-01 10:30:18 +0200 |
commit | 75687711f35355bc30e4829439384aab28fcac6d (patch) | |
tree | 8f3256f472893c39720a684d390e890a152f7303 /lib/irc/account.ex | |
parent | link: post_* callbacks; html & pdftitle. (diff) |
Commit all the changes that hasn't been committed + updates.
Diffstat (limited to '')
-rw-r--r-- | lib/irc/account.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/irc/account.ex b/lib/irc/account.ex index 6f9eb05..0aa8638 100644 --- a/lib/irc/account.ex +++ b/lib/irc/account.ex @@ -19,7 +19,8 @@ defmodule IRC.Account do # FIXME: Ensure uniqueness of name? defstruct [:id, :name, :token] - @type t :: %__MODULE__{id: String.t(), name: String.t()} + @type t :: %__MODULE__{id: id(), name: String.t()} + @type id :: String.t() defimpl Inspect, for: __MODULE__ do import Inspect.Algebra |