Просмотр исходного кода

Fix spec for cowboy_dispatcher:split_host/1.

Loïc Hoguin 14 лет назад
Родитель
Сommit
193968d53e
1 измененных файлов с 1 добавлено и 1 удалено
  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(),