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.
`rust` is already the default in rustdoc for code blocks.

Additionally, the `{}` is not necessary for adding a single attribute to a code block.