The edit consisted of replacing two single quotes with two double quotes. The sample code in the original answer failed to compile; the edited version compiled and ran as advertised.
Peer review of the edit rejected the edit with the apparent stock-phrase:
This edit was intended to address the author of the post and makes no sense as an edit. It should have been written as a comment or an answer
Subsequently I pointed out the bug in a comment, whereupon the code's author promptly performed exactly the same edit that had I proposed.
Surely a simple bugfix to posted code is aimed at everyone reading the code, not just the author. Rejecting the edit merely delayed a necessary bugfix and increased the amount of effort required to get it done and the number of people involved.
Was this a reasonable rejection of the edit?