Skip to content

Conversation

@nilslindemann
Copy link

@nilslindemann nilslindemann commented Jan 19, 2026

By using : in the text and > in the Markdown.

I replaced with a more distinct example in the first two > blocks to denote better to the reader that these are examples.

The way it is currently written in the reference can create confusion. I looked awhile at it, trying to make sense why you would write examples for terms in italics too (= I parsed this sentence as meta language). Until I grasped that this sentence is an example (= the sentence is to be parsed as object language).

This is partly due to the fact that > blocks are not rendered in a special way (at this position?) in the book. And further, the first example (the second paragraph of the first list item, which I have split into two examples) was missing the > s.

Please modify at will. Just remove the ambiguity between object and meta language.

by using `:` in the text and `> ` in the markdown.

I replaced with a more distinct example in the first two `> ` blocks to denote better to the reader that these are examples.

[The way it is currently written in the reference](https://doc.rust-lang.org/stable/reference/#conventions) can create confusion. I looked a while at it, trying to make sense why you would write examples for terms in italics too (= I parsed this sentence as meta language), until I grasped that this sentence *is* an example (= the sentence is to be parsed as object language).

This is partly due to the fact that `> ` blocks are not rendered in a special way at this position in the book. And further, the first example (the second paragraph of the first list item) was missing the `> `s.
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: The marked PR is awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants