From 9255cdf1d783ff5deff783ae13b0d003f484bb86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 19 Feb 2017 16:51:16 +0100 Subject: Change the type of bindings from a list to a map Maps make more sense because the keys are unique. --- doc/src/manual/cowboy_router.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/src/manual/cowboy_router.asciidoc') diff --git a/doc/src/manual/cowboy_router.asciidoc b/doc/src/manual/cowboy_router.asciidoc index a830618..61b8d57 100644 --- a/doc/src/manual/cowboy_router.asciidoc +++ b/doc/src/manual/cowboy_router.asciidoc @@ -33,7 +33,7 @@ a 404 response otherwise. [source,erlang] ---- -bindings() :: [{atom(), binary()}] +bindings() :: #{atom() => any()} ---- Bindings found during routing. -- cgit v1.2.3