rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

Issue #255 - Attempt to make explanation in debugging section better #267

Open nitame opened 2 years ago

nitame commented 2 years ago

Summary

In the section 4.6 Debugging, the file in which add the macro log isn't specified. And the code snippet which shows what line of code to add in the file is an extract from git diff. This PR is an attempt to improve the explanations.

Fixes #255