diff options
| author | bors <bors@rust-lang.org> | 2014-04-27 19:06:38 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-27 19:06:38 -0700 |
| commit | ff25d62165cbd74e98c569aa74feedbb3ca181e3 (patch) | |
| tree | 5d0a59b731d5f03092b10909f80a0ffeee7eb216 /src | |
| parent | c2b6ab94e23886068a4bbb1679ce24771aa4b25a (diff) | |
| parent | bc330063d864d822542ede85ff23d854702675be (diff) | |
| download | rust-ff25d62165cbd74e98c569aa74feedbb3ca181e3.tar.gz rust-ff25d62165cbd74e98c569aa74feedbb3ca181e3.zip | |
auto merge of #13809 : prattmic/rust/tutorial_debug, r=alexcrichton
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/tutorial.md | 5 |
1 files changed, 0 insertions, 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 |
