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:
bors 2013-04-19 21:21:52 -07:00
commit 047ba2642f

View File

@ -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