Skip to content

eprint! and eprintln! in Rust 1.19 #823

Closed

Description

@jan-schreib

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!

Activity

  1. steveklabnik commented on Jul 21, 2017

    @steveklabnik
    Contributor

    eprintln! was already added, in #811

  2. carols10cents commented on Jul 21, 2017

    @carols10cents
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions