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.
Should I revert this change?