summaryrefslogtreecommitdiff
path: root/lib/irc/account.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-01 10:30:18 +0200
committerhref <href@random.sh>2021-09-01 10:30:18 +0200
commit75687711f35355bc30e4829439384aab28fcac6d (patch)
tree8f3256f472893c39720a684d390e890a152f7303 /lib/irc/account.ex
parentlink: post_* callbacks; html & pdftitle. (diff)
Commit all the changes that hasn't been committed + updates.
Diffstat (limited to '')
-rw-r--r--lib/irc/account.ex3
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