Skip to content

Commit

Permalink
Fix broken 'make docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
mendezcode committed Dec 10, 2012
1 parent 6d4e157 commit 0ed8054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cowboy_dispatcher.erl
Expand Up @@ -45,7 +45,7 @@
%% <em>PathRules</em> being a list of <em>{Path, HandlerMod, HandlerOpts}</em>. %% <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 %% <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. %% wildcard path, or a list of tokens.
%% %%
%% Each token can be either a binary, the atom <em>'_'</em>, %% Each token can be either a binary, the atom <em>'_'</em>,
Expand Down
2 changes: 1 addition & 1 deletion src/cowboy_multipart.erl
Expand Up @@ -99,7 +99,7 @@ prefixes(<<>>, Acc) ->
[Acc]. [Acc].


%% @doc Test if a boundary is a possble suffix. %% @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()}. -spec suffix_match(binary(), patterns()) -> nomatch | {integer(), integer()}.
suffix_match(Bin, {_Boundary, {Pat, Len}}) -> suffix_match(Bin, {_Boundary, {Pat, Len}}) ->
Size = byte_size(Bin), Size = byte_size(Bin),
Expand Down

0 comments on commit 0ed8054

Please sign in to comment.