You removed code which materially changes the meaning and intent of the postquestion.
Please, please, please do not do that.
A suggested edit which removes--or sometimes just substantially reformats--code is suspect at best, and most likely invalid.
I like to think of it as the user's code is the chain of evidence, as this is where their problem most likely exists. The text accompanying the code is all hearsay. If you destroy the chain of evidence, you may substantially decrease the value of the question!