diff options
author | Loïc Hoguin <[email protected]> | 2011-03-21 22:12:23 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-03-21 22:13:27 +0100 |
commit | 193968d53e890c5aeb845e3f54ba6fee6d300df7 (patch) | |
tree | b1b6c93dd0989b46da221881e530e7030c6e4096 /include/types.hrl | |
parent | 7cacb88fecc2d64609168167303aaca00181ee53 (diff) | |
download | cowboy-193968d53e890c5aeb845e3f54ba6fee6d300df7.tar.gz cowboy-193968d53e890c5aeb845e3f54ba6fee6d300df7.tar.bz2 cowboy-193968d53e890c5aeb845e3f54ba6fee6d300df7.zip |
Fix spec for cowboy_dispatcher:split_host/1.
Diffstat (limited to 'include/types.hrl')
-rw-r--r-- | include/types.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/types.hrl b/include/types.hrl index 1940a14..7fe9f0a 100644 --- a/include/types.hrl +++ b/include/types.hrl @@ -25,7 +25,7 @@ -type port_number() :: 0..65535. -type bindings() :: list({Key::atom(), Value::string()}). --type path_tokens() :: '*' | list(string()). +-type path_tokens() :: list(string()). -type match() :: '_' | '*' | list(string() | '_' | atom()). -type dispatch_rules() :: {Host::match(), list({Path::match(), |