From 193968d53e890c5aeb845e3f54ba6fee6d300df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 21 Mar 2011 22:12:23 +0100 Subject: Fix spec for cowboy_dispatcher:split_host/1. --- include/types.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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(), -- cgit v1.2.3