We were taught in school that gerund comes after 'for', while infinitive follows 'to'.
However, I came across this sentence :"Thank you for devoting your time to reading my letter"
Whatever research I try to do on the subject, the only results I get are 'ways to thank people for their time' and 'how to write formal letters' , but it's the given grammar structure i'm interested in.
So can you please help out?
Thank you so much! :)