pedant

pe-dant

noun

A person excessively concerned with minor details, rules, or academic learning.

"He was a pedant about correct punctuation."

Thesaurus

Synonyms: bookworm, scholastic