diff options
author | Loïc Hoguin <[email protected]> | 2011-03-22 12:26:07 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-03-22 12:26:07 +0100 |
commit | d4c071c2d0b4e5fbd6277eaf48f9ad03c1e5d9df (patch) | |
tree | db7c2b8c640520059eb7441a0383b74bbd3a2654 /include/types.hrl | |
parent | 06ff8607edca1343ab2480dc2dc9890d258b6dfd (diff) | |
download | cowboy-d4c071c2d0b4e5fbd6277eaf48f9ad03c1e5d9df.tar.gz cowboy-d4c071c2d0b4e5fbd6277eaf48f9ad03c1e5d9df.tar.bz2 cowboy-d4c071c2d0b4e5fbd6277eaf48f9ad03c1e5d9df.zip |
Fix the type spec for path_tokens, a list of *non empty* strings.
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 7fe9f0a..bdd4c5f 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(nonempty_string()). -type match() :: '_' | '*' | list(string() | '_' | atom()). -type dispatch_rules() :: {Host::match(), list({Path::match(), |