From bc330063d864d822542ede85ff23d854702675be Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Sun, 27 Apr 2014 18:14:50 -0400 Subject: [PATCH] doc: Remove out-of-place debug! note As of cc6ec8df, the Owned closures example uses println! instead of debug!, making a note about seeing debug seem out-of-place in this section. Since debug! is not used elsewhere in the tutorial, remove the note entirely. --- src/doc/tutorial.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 4b95cfc283f..d060eb751fd 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -1793,11 +1793,6 @@ spawn(proc() { }); ~~~~ -> *Note:* 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 the name of your crate, which, for a file named `foo.rs`, will be -> `foo` (e.g., with bash, `export RUST_LOG=foo`). - ## Closure compatibility Rust closures have a convenient subtyping property: you can pass any kind of