mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-02 10:04:23 +00:00
Explain use of debug\! in tutorial
This commit is contained in:
parent
07e087bf31
commit
7373c64a4c
@ -1669,6 +1669,9 @@ do spawn {
|
||||
}
|
||||
~~~~
|
||||
|
||||
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`)
|
||||
|
||||
## For loops
|
||||
|
||||
The most common way to express iteration in Rust is with a `for`
|
||||
|
Loading…
Reference in New Issue
Block a user