A
pedant is someone who pays excessive attention to minor details, rules, or technicalities, often demonstrating their knowledge or intelligence to others. They can be overly obsessed with correctness or correctness of others, and might come off as being arrogant or annoyingly precise.
Full definition