auto merge of #5964 : danluu/rust/debug_tutorial_foo, r=brson
Sorry, my change for #5916 wasn't correct -- it only worked by coincidence. This should actually work for any file name.
This commit is contained in:
commit
047ba2642f
@ -1670,7 +1670,7 @@ 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`)
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user