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

Add eprint! and eprintln! macros to the prelude. #41192

Merged
merged 4 commits into from
May 11, 2017
Merged

Commits on May 10, 2017

  1. Add eprint! and eprintln! macros to the prelude.

    These are exactly the same as `print!` and `println!` except that
    they write to stderr instead of stdout.  Issue rust-lang#39228.
    zackw committed May 10, 2017
    Configuration menu
    Copy the full SHA
    7612727 View commit details
    Browse the repository at this point in the history
  2. Revise the eprint(ln)! feature.

     * Factor out the nigh-identical bodies of `_print` and `_eprint` to a helper
       function `print_to` (I was sorely tempted to call it `_doprnt`).
     * Update the issue number for the unstable `eprint` feature.
     * Add entries to the "unstable book" for `eprint` and `eprint_internal`.
     * Style corrections to the documentation.
    zackw committed May 10, 2017
    Configuration menu
    Copy the full SHA
    07766f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ab3bcb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    72588a2 View commit details
    Browse the repository at this point in the history