mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Fix broken 'make docs'
This commit is contained in:
parent
6d4e15705f
commit
0ed805439a
2 changed files with 2 additions and 2 deletions
|
@ -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>,
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue