Open michaelkebe opened 4 weeks ago
This is an issue with multiple other code snippets, too. For now, I'd suggest disabling running the incomplete code examples. In a later stage, I agree it would be good to include and hide the setup code in the examples
It was never the intention for code samples to be runnable as-is, that's a side-effect of using mdbook and failing to annotate all snippets 😅 I agree the solution is to mark them as no-run.
Chapter 5.5 Nullability
https://rust-exercises.com/100-exercises/05_ticket_v2/05_nullability#tuples
Clicking the run icon produces:
The code right above is not included in the snippet. It should be included, but hidden.