So he left his lane before the last person finished? Though the person in the lane he went to was finished. Kind of rough, like signing an incorrect card in golf. Picayune, but thems the rules.
Waiting for the other swimmers to complete the race before leaving your lane seems like a reasonable requirement — and simple good sportsmanship.