You have wasted your time on editing a post that got deleted.
The reputation needs to add up based on still visible posts. If a post gets deleted reputation gained or lost by it will still affect your reputation. This may lead to the strange effect that your inbox has the message you gained a privilege while in reality you just dropped under it due to a post deletion or a down vote.
Reputation will stick after deletion if the post has 3 up votes and has been visible on the site for 60-days, as explained on this cross-site duplicate Lost reputation on an edited question that was deleted or this slightly older post Do you lose your +2 edit rep if the edited post is subsequently deleted?
While I'm at it, please don't do back-ticks only edits. They might make the post a tiny bit easier to read but if that is all there is to be changed I personally wouldn't waste my time (and that of reviewers) on it. There are for sure other posts that can use your edit skills.