Fix one more listing number

This commit is contained in:
Chris Krycho
2024-10-08 11:45:06 -06:00
parent 809b24a21b
commit fc62e4055b

View File

@@ -175,7 +175,7 @@ We must call the `dangerous` function within a separate `unsafe` block. If we
try to call `dangerous` without the `unsafe` block, well get an error:
```console
{{#include ../listings/ch19-advanced-features/output-only-01-missing-unsafe/output.txt}}
{{#include ../listings/ch20-advanced-features/output-only-01-missing-unsafe/output.txt}}
```
With the `unsafe` block, were asserting to Rust that weve read the functions