mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-05 19:00:31 -05:00
Fixed formatting of CCString.rtake_while.
This commit is contained in:
parent
d29ed7ee72
commit
8bb3801a52
1 changed files with 3 additions and 3 deletions
|
|
@ -597,9 +597,9 @@ let rtake_while f s =
|
|||
let i = ref s_len_pred in
|
||||
while !i >= 0 && f (String.unsafe_get s !i) do
|
||||
decr i
|
||||
done ;
|
||||
if !i < s_len_pred
|
||||
then String.sub s (!i + 1) (s_len_pred - !i)
|
||||
done;
|
||||
if !i < s_len_pred then
|
||||
String.sub s (!i + 1) (s_len_pred - !i)
|
||||
else
|
||||
""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue