Skip to content

Commit ff25d62

Browse files
committed
auto merge of #13809 : prattmic/rust/tutorial_debug, r=alexcrichton
As of cc6ec8d, 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.
2 parents c2b6ab9 + bc33006 commit ff25d62

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/doc/tutorial.md

-5
Original file line numberDiff line numberDiff line change
@@ -1793,11 +1793,6 @@ spawn(proc() {
17931793
});
17941794
~~~~
17951795
1796-
> *Note:* If you want to see the output of `debug!` statements, you will need to turn on
1797-
> `debug!` logging. To enable `debug!` logging, set the RUST_LOG environment
1798-
> variable to the name of your crate, which, for a file named `foo.rs`, will be
1799-
> `foo` (e.g., with bash, `export RUST_LOG=foo`).
1800-
18011796
## Closure compatibility
18021797
18031798
Rust closures have a convenient subtyping property: you can pass any kind of

0 commit comments

Comments
 (0)