Fix some minor issues in the guide.

This PR fixes some minor grammar and spelling issues in the guide. It also adds the missing `{rust}` attribute to a code chunk.
This basically just fixes syntax highlighting if you read it on GitHub.