Skip to content

Commit

Permalink
Fix one more listing number
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Oct 8, 2024
1 parent 809b24a commit fc62e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch20-01-unsafe-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc62e40

Please sign in to comment.