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

Rename dispatch_rules() into dispatch_rule().

Loïc Hoguin 14 лет назад
Родитель
Сommit
ecf117b375
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      include/types.hrl

+ 2 - 2
include/types.hrl

@@ -22,6 +22,6 @@
 -type path_tokens() :: list(nonempty_string()).
 -type match() :: '_' | '*' | list(string() | '_' | atom()).
 
--type dispatch_rules() :: {Host::match(), list({Path::match(),
+-type dispatch_rule() :: {Host::match(), list({Path::match(),
 	Handler::module(), Opts::term()})}.
--type dispatch() :: list(dispatch_rules()).
+-type dispatch() :: list(dispatch_rule()).