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

Typo mentioning stdout instead of stderr in the docs for eprint/eprintln #112862

Closed
HomelikeBrick42 opened this issue Jun 20, 2023 · 0 comments · Fixed by #112863
Closed

Typo mentioning stdout instead of stderr in the docs for eprint/eprintln #112862

HomelikeBrick42 opened this issue Jun 20, 2023 · 0 comments · Fixed by #112863
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools

Comments

@HomelikeBrick42
Copy link

Location

https://github.com/rust-lang/rust/blob/master/library/std/src/macros.rs#L192-L193
https://github.com/rust-lang/rust/blob/master/library/std/src/macros.rs#L192-L193

Summary

These macros print to stderr, so it should probably mention stderr instead of stdout

@HomelikeBrick42 HomelikeBrick42 added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Jun 20, 2023
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Jun 21, 2023
…san68

Fix copy-paste typo in `eprint(ln)` docs

Fixes rust-lang#112862
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Jun 21, 2023
…san68

Fix copy-paste typo in `eprint(ln)` docs

Fixes rust-lang#112862
@bors bors closed this as completed in 38916c7 Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@HomelikeBrick42 and others