pedant
/ˈpɛdənt/Definitions
1. noun
A person who pays excessive attention to details and rules, often in a way that is considered annoying or pedantic.
“As a history teacher, she was often seen as a pedant due to her strict adherence to dates and events.”