Docs: Spell checking and one extra closing curly in code example

As instructed via #1157, trying to follow contribution guidelines.
Closes #1157