0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Tweak small things in the cowboy manual

This commit is contained in:
Loïc Hoguin 2016-11-05 14:22:18 +02:00
parent a24d48fec6
commit 0df88c0d0a
No known key found for this signature in database
GPG key ID: 71366FF21851DF03
2 changed files with 4 additions and 4 deletions

View file

@ -26,10 +26,10 @@ fields() :: [Name
| {Name, Constraints}
| {Name, Constraints, Default}]
Name :: atom()
Name :: atom()
Constraints :: Constraint | [Constraint]
Constraint :: cowboy_constraints:constraint()
Default :: any()
Constraint :: cowboy_constraints:constraint()
Default :: any()
----
Fields description for match operations.

View file

@ -42,7 +42,7 @@ and `middlewares`.
Value::
The new value.
+
The type of the value differs depending on the key.
== Return value