I doubt if fungus gnat larvae ate that leaf. They primarily feed on fungi, algae and decaying plant matter. However, the larvae will feed on plant roots and leaves resting on the growing medium surface but that leaf edge does not sit on the medium.