Fix debug! usage in tutorial
This commit is contained in:
parent
bffe23b0cf
commit
69f6ac5d31
1 changed files with 1 additions and 1 deletions
|
@ -1670,7 +1670,7 @@ do spawn {
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
If you want to see the output of `debug!` statements, you will need to turn on `debug!` logging.
|
If you want to see the output of `debug!` statements, you will need to turn on `debug!` logging.
|
||||||
To enable `debug!` logging, set the RUST_LOG environment variable to `debug` (e.g., with bash, `export RUST_LOG=debug`)
|
To enable `debug!` logging, set the RUST_LOG environment variable to the name of your crate, which, for a file named `foo.rs`, will be `foo` (e.g., with bash, `export RUST_LOG=foo`).
|
||||||
|
|
||||||
## For loops
|
## For loops
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue