From 69f6ac5d31fbd2a4bcf104a818e79d6e4e34c8f7 Mon Sep 17 00:00:00 2001 From: Dan Luu Date: Fri, 19 Apr 2013 19:17:34 -0400 Subject: [PATCH] Fix debug! usage in tutorial --- doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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