Fix one more listing number

This commit is contained in:
Chris Krycho
2024-10-08 11:45:23 -06:00
parent 809b24a21b
commit fc62e4055b
+1 -1
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, we’ll 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, we’re asserting to Rust that we’ve read the function’s