. "Whenever any duty is enjoined by law upon any public officer or other person holding any public trust or employment, their willful neglect to perform such duty, except where otherwise specially provided for, shall be a misdemeanor." . . .