about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Luu <danluu@gmail.com>2013-04-19 19:17:34 -0400
committerDan Luu <danluu@gmail.com>2013-04-19 19:17:34 -0400
commit69f6ac5d31fbd2a4bcf104a818e79d6e4e34c8f7 (patch)
tree85a76681c57a5ecba583a2cdb0d19dc56247f8d9
parentbffe23b0cfee2e6957a81a98f8c8a885522e3444 (diff)
downloadrust-69f6ac5d31fbd2a4bcf104a818e79d6e4e34c8f7.tar.gz
rust-69f6ac5d31fbd2a4bcf104a818e79d6e4e34c8f7.zip
Fix debug! usage in tutorial
-rw-r--r--doc/tutorial.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index 01dd76647f5..56629b93b1a 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -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