Firefighters rushed to a Wiltshire takeaway to tackle a blaze that broke out.