From d4c071c2d0b4e5fbd6277eaf48f9ad03c1e5d9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 22 Mar 2011 12:26:07 +0100 Subject: Fix the type spec for path_tokens, a list of *non empty* strings. --- 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 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(), -- cgit v1.2.3