Skip to content

Improve error message and docs for non-UTF-8 bytes in stdio on Windows - #58136

Merged
bors merged 1 commit into
rust-lang:masterfrom
abonander:doc-win-stdio-unicode
Feb 7, 2019
Merged

Improve error message and docs for non-UTF-8 bytes in stdio on Windows#58136
bors merged 1 commit into
rust-lang:masterfrom
abonander:doc-win-stdio-unicode

Conversation

@abonander

Copy link
Copy Markdown
Contributor

This should make debugging problems like abonander/multipart#106 significantly more straightforward in the future.

cc #23344, @retep998@alexcrichton

Not sure who do r? so I'll let rust-highfive pick one.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @dtolnay

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 4, 2019
@abonander
abonanderforce-pushed the doc-win-stdio-unicode branch from 7cfc1c3 to 27c8dfdCompareFebruary 4, 2019 06:56
@abonanderabonander changed the title Improve error message and docs for writing non-UTF-8 bytes to stdio on WindowsImprove error message and docs for non-UTF-8 bytes in stdio on WindowsFeb 4, 2019

@dtolnaydtolnay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Feb 6, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 27c8dfd has been approved by dtolnay

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 6, 2019
@abonander

Copy link
Copy Markdown
ContributorAuthor

@dtolnay this does touch the docs for all the stdio types and module functions. I expected to bikeshed the wording a little though I'm satisfied with it myself.

@dtolnay

Copy link
Copy Markdown
Member

I think the wording is okay too. Feel free to r? another reviewer if you'd like a third opinion.

@abonander

Copy link
Copy Markdown
ContributorAuthor

No, if you think it's fine then by all means. I just haven't had a PR merged without nits before so I was a bit thrown off.

kennytm added a commit to kennytm/rust that referenced this pull request Feb 7, 2019
…dtolnay
Improve error message and docs for non-UTF-8 bytes in stdio on Windows
This should make debugging problems like abonander/multipart#106 significantly more straightforward in the future.
cc rust-lang#23344, @retep998@alexcrichton
Not sure who do r? so I'll let rust-highfive pick one.
@kennytmkennytm mentioned this pull request Feb 7, 2019
bors added a commit that referenced this pull request Feb 7, 2019
Rollup of 23 pull requests
Successful merges:
- #58118 (Transition libtest to 2018 edition)
- #58119 (libproc_macro => 2018)
- #58123 (Avoid some bounds checks in binary_heap::{PeekMut,Hole})
- #58124 (libsyntax_pos => 2018)
- #58133 (libsyntax_ext => 2018)
- #58136 (Improve error message and docs for non-UTF-8 bytes in stdio on Windows)
- #58156 (update submodule: rust-installer from 27dec6c to ccdc47b)
- #58192 (Do not ICE in codegen when using a extern_type static)
- #58193 (Move librustc to 2018)
- #58210 (Make an assert debug-only in `find_constraint_paths_between_regions`.)
- #58217 (librustc_tsan => 2018)
- #58218 (librustc_msan => 2018)
- #58219 (librustc_asan => 2018)
- #58220 (libprofiler_builtins => 2018)
- #58223 (librustc_lsan => 2018)
- #58225 (librustc_fs_util => 2018)
- #58228 (librustc_plugin => 2018)
- #58236 (librustc_resolve => 2018)
- #58237 (Fix broken grammar in iter::from_fn() docs)
- #58239 (librustc_apfloat => 2018)
- #58240 (librustc_errors => 2018)
- #58241 (librustc_llvm => 2018)
- #58242 (Document the one TyKind that isn't documented)
Failed merges:
- #58185 (Remove images' url to make it work even without internet connection)
r? @ghost
@bors
bors merged commit 27c8dfd into rust-lang:masterFeb 7, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@abonander@rust-highfive@dtolnay@bors@retep998