mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-19 00:43:18 +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:
parent
c01142e5d2
commit
61407e6079
@ -12,9 +12,9 @@ error handling and propagate errors to a return from `main`. Feel free to use
|
|||||||
[`thiserror`]: https://docs.rs/thiserror
|
[`thiserror`]: https://docs.rs/thiserror
|
||||||
[`anyhow`]: https://docs.rs/anyhow
|
[`anyhow`]: https://docs.rs/anyhow
|
||||||
|
|
||||||
HINT: start by fixing error handling in the `parse` function. Once that is
|
> **Hint:** start by fixing error handling in the `parse` function. Once that is
|
||||||
working correctly, update `Tokenizer` to implement
|
> working correctly, update `Tokenizer` to implement
|
||||||
`Iterator<Item=Result<Token, TokenizerError>>` and handle that in the parser.
|
> `Iterator<Item=Result<Token, TokenizerError>>` and handle that in the parser.
|
||||||
|
|
||||||
```rust,editable
|
```rust,editable
|
||||||
{{#include exercise.rs:types}}
|
{{#include exercise.rs:types}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user