Someone who accidentally downvoted one of my answers has edited my answer with a non-substantial edit just so they could change it to an upvote. Is this allowed?
As you describe it, the action seems to have been in good faith. It isn't something that happens too often so that we should be worried about it. On the other hand, users shouldn't exploit this to undo votes as they see fit.