Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #335 from derdesign/master

Fix broken 'make docs'
  • Loading branch information...
commit ea7af4b72444890df8cafc624ecdf7e32f7a62cb 2 parents 08a4975 + 0ed8054
@essen essen authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/cowboy_dispatcher.erl
  2. +1 −1  src/cowboy_multipart.erl
View
2  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>,
View
2  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),
Please sign in to comment.
Something went wrong with that request. Please try again.