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.
This commit is contained in:
commit
ff25d62165
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user