Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eprint! and eprintln! in Rust 1.19 #823

Closed
jan-schreib opened this issue Jul 21, 2017 · 2 comments
Closed

eprint! and eprintln! in Rust 1.19 #823

jan-schreib opened this issue Jul 21, 2017 · 2 comments

Comments

@jan-schreib
Copy link

Since Rust 1.19 was released there are the eprint! and eprintln! macros to write to stderr.
Chapter 12.6 in the book can be updated.
I think it should be added to the appendix. The new break loop feature is also in there.

rust-lang/rust#41192

Thx and please keep up the great work!

@steveklabnik
Copy link
Member

eprintln! was already added, in #811

@carols10cents
Copy link
Member

Yes, rather than add eprintln! to the "newest features" appendix, we decided to incorporate it into the book, mostly because it makes the book nicer!! And we haven't frozen the relevant chapters yet :)

As steve mentioned, we've already incorporated it into Chapter 12. The trick is that the book rides the trains now, but it's a train behind. The changes to chapter 12 made it into beta, so they're currently viewable at https://doc.rust-lang.org/beta/book/second-edition/ch12-06-writing-to-stderr-instead-of-stdout.html and they'll make it into stable with the 1.20 release.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants