1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-30 17:16:35 +02:00

Avoid uppercase “HINT” (#2428)

We don’t have a convention of all-capital headings. However, we can
have do a similar convention with a block quotes (see README and
TRANSLATIONS).

Reviewed-by: Martin Geisler <mgeisler@google.com>
This commit is contained in:
Martin Geisler 2024-10-15 16:14:25 +02:00 committed by GitHub
parent c01142e5d2
commit 61407e6079
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,9 +12,9 @@ error handling and propagate errors to a return from `main`. Feel free to use
[`thiserror`]: https://docs.rs/thiserror
[`anyhow`]: https://docs.rs/anyhow
HINT: start by fixing error handling in the `parse` function. Once that is
working correctly, update `Tokenizer` to implement
`Iterator<Item=Result<Token, TokenizerError>>` and handle that in the parser.
> **Hint:** start by fixing error handling in the `parse` function. Once that is
> working correctly, update `Tokenizer` to implement
> `Iterator<Item=Result<Token, TokenizerError>>` and handle that in the parser.
```rust,editable
{{#include exercise.rs:types}}