aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-12-10 15:32:48 -0800
committerLoïc Hoguin <[email protected]>2012-12-10 15:32:48 -0800
commitea7af4b72444890df8cafc624ecdf7e32f7a62cb (patch)
tree15a73b09936d440896cde994d2fbe12904593af5
parent08a4975c3467e236473445954181804c339bac34 (diff)
parent0ed805439aa036f00ddb18c6c99b1e07a05e9f45 (diff)
downloadcowboy-ea7af4b72444890df8cafc624ecdf7e32f7a62cb.tar.gz
cowboy-ea7af4b72444890df8cafc624ecdf7e32f7a62cb.tar.bz2
cowboy-ea7af4b72444890df8cafc624ecdf7e32f7a62cb.zip
Merge pull request #335 from derdesign/master
Fix broken 'make docs'
-rw-r--r--src/cowboy_dispatcher.erl2
-rw-r--r--src/cowboy_multipart.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cowboy_dispatcher.erl b/src/cowboy_dispatcher.erl
index fae18fc..5b75398 100644
--- a/src/cowboy_dispatcher.erl
+++ b/src/cowboy_dispatcher.erl
@@ -45,7 +45,7 @@
%% <em>PathRules</em> being a list of <em>{Path, HandlerMod, HandlerOpts}</em>.
%%
%% <em>Hostname</em> and <em>Path</em> are match rules and can be either the
-%% atom <em>'_'</em>, which matches everything, <<"*">>, which match the
+%% atom <em>'_'</em>, which matches everything, `<<"*">>', which match the
%% wildcard path, or a list of tokens.
%%
%% Each token can be either a binary, the atom <em>'_'</em>,
diff --git a/src/cowboy_multipart.erl b/src/cowboy_multipart.erl
index a9c378e..83c41a8 100644
--- a/src/cowboy_multipart.erl
+++ b/src/cowboy_multipart.erl
@@ -99,7 +99,7 @@ prefixes(<<>>, Acc) ->
[Acc].
%% @doc Test if a boundary is a possble suffix.
-%% The patterns are expected to have been returned from `pattern/1`.
+%% The patterns are expected to have been returned from `pattern/1'.
-spec suffix_match(binary(), patterns()) -> nomatch | {integer(), integer()}.
suffix_match(Bin, {_Boundary, {Pat, Len}}) ->
Size = byte_size(Bin),