i -= -1
works, formatted as
i-=-1
it's unclear what each - is doing, likely someone did it because it looks nice and symmetrical, as opposed to
i+=1