Skip to content

Commit

Permalink
Fix Dializer record types
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Dec 17, 2010
1 parent 6373f4b commit c79a097
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/ex_uri.hrl
@@ -1,14 +1,14 @@
-record(ex_uri_authority, {userinfo :: string(),
-record(ex_uri_authority, {userinfo :: string() | undefined,
host :: string(),
port :: integer()}).
port :: integer() | undefined}).

-record(ex_uri, {scheme :: string(),
authority :: #ex_uri_authority{},
authority :: #ex_uri_authority{} | undefined,
path :: [string()],
q :: string(),
fragment :: string()}).
q :: string() | undefined,
fragment :: string() | undefined}).

-record(ex_uri_ref, {authority :: #ex_uri_authority{},
-record(ex_uri_ref, {authority :: #ex_uri_authority{} | undefined,
path :: [string()],
q :: string(),
fragment :: string()}).
q :: string() | undefined,
fragment :: string() | undefined}).

0 comments on commit c79a097

Please sign in to comment.