Skip to content

Commit

Permalink
doc: Remove out-of-place debug! note
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
prattmic committed Apr 27, 2014
1 parent 02ba8e2 commit bc33006
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/doc/tutorial.md
Expand Up @@ -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
Expand Down

5 comments on commit bc33006

@bors
Copy link
Contributor

@bors bors commented on bc33006 Apr 28, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at prattmic@bc33006

@bors
Copy link
Contributor

@bors bors commented on bc33006 Apr 28, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging prattmic/rust/tutorial_debug = bc33006 into auto

@bors
Copy link
Contributor

@bors bors commented on bc33006 Apr 28, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prattmic/rust/tutorial_debug = bc33006 merged ok, testing candidate = ff25d62

@bors
Copy link
Contributor

@bors bors commented on bc33006 Apr 28, 2014

@bors
Copy link
Contributor

@bors bors commented on bc33006 Apr 28, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = ff25d62

Please sign in to comment.