aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_router.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-02-19 16:51:16 +0100
committerLoïc Hoguin <[email protected]>2017-02-19 16:51:16 +0100
commit9255cdf1d783ff5deff783ae13b0d003f484bb86 (patch)
tree352ae4164e8ebb1eac9d11448fd095b4231795e6 /doc/src/manual/cowboy_router.asciidoc
parent91ae70b06c9cc486ea2c2cf91b94de799ceb53b2 (diff)
downloadcowboy-9255cdf1d783ff5deff783ae13b0d003f484bb86.tar.gz
cowboy-9255cdf1d783ff5deff783ae13b0d003f484bb86.tar.bz2
cowboy-9255cdf1d783ff5deff783ae13b0d003f484bb86.zip
Change the type of bindings from a list to a map
Maps make more sense because the keys are unique.
Diffstat (limited to 'doc/src/manual/cowboy_router.asciidoc')
-rw-r--r--doc/src/manual/cowboy_router.asciidoc2
1 files changed, 1 insertions, 1 deletions
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.