You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 :)
Activity
steveklabnik commentedon Jul 21, 2017
eprintln!was already added, in #811carols10cents commentedon Jul 21, 2017
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!