Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move spec to right place so new edoc doesn't choke
  • Loading branch information
Vagabond committed Mar 21, 2011
1 parent 0f5cacb commit 9b1921e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/binstr.erl
Expand Up @@ -111,10 +111,10 @@ strpos(Bin, C, I, S) ->
end.


-spec strrpos(Bin :: binary(), C :: binary() | list()) -> non_neg_integer().
strrpos(Bin, C) ->
strrpos(Bin, C, byte_size(Bin), byte_size(C)).

-spec strrpos(Bin :: binary(), C :: binary() | list()) -> non_neg_integer().
strrpos(Bin, C, I, S) ->
case Bin of
<<_X:I/binary, C:S/binary, _Rest/binary>> ->
Expand Down

0 comments on commit 9b1921e

Please sign in to comment.