Permalink
Browse files

Move spec to right place so new edoc doesn't choke

  • Loading branch information...
Vagabond committed Mar 21, 2011
1 parent 0f5cacb commit 9b1921e90ec46ae6fdac43de7d0e3dcb7499a412
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/binstr.erl
View
@@ -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>> ->

0 comments on commit 9b1921e

Please sign in to comment.