Skip to content

Commit a8df079

Browse files
authored
Merge pull request #98 from vittorius/patch-3
Fix cargo objdump command in documentation
2 parents b14f723 + 3f5bf1e commit a8df079

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mdbook/src/09-registers/type-safe-manipulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ instructions that the "unsafe" version that used `write_volatile` and hexadecima
337337

338338
Use `cargo objdump` to grab the assembler code to `release.type-safe.dump`:
339339
``` console
340-
cargo objdump -q --release --bin type-safe -- --disassemble --no-show-raw-insn > release.type-safe.dump
340+
cargo objdump -q --release --example type-safe -- --disassemble --no-show-raw-insn > release.type-safe.dump
341341
```
342342

343343
Then search for `main` in `release.type-safe.dump`

0 commit comments

Comments
 (0)