Browse Source

Fix spec for cowboy_dispatcher:split_host/1.

Loïc Hoguin 14 years ago
parent
commit
193968d53e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/types.hrl

+ 1 - 1
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(),