Told to put it away, or asked? Geez, take a chill pill. It is not unusual for us to have passengers who are allergic to nuts, and we always make a PA asking people not to eat any nut products and explain why. I've yet to receive a complaint from a passenger who objected to this. Some passengers bring their own food, so as to be sure they don't come into contact with nuts. They too cause a risk of needing to divert. Do we stop all people with an allergy from flying or just discriminate against crew? It may well be she had a minor allergy to nuts, causing breathing problems, but no serious risk, just very uncomfortable.