diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-03-30 07:51:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-30 07:51:44 +0100 |
| commit | 931151f72d41cc70f14f945a3589a3f35195b5de (patch) | |
| tree | bae80d23cf79c971c89acfa3225a24f4729806c6 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 183afcd8c89bf95a7cf2f42d2987739756413d3b (diff) | |
| parent | b6fb3e34117008f7f97094b0f1521116a4e66473 (diff) | |
| download | rust-931151f72d41cc70f14f945a3589a3f35195b5de.tar.gz rust-931151f72d41cc70f14f945a3589a3f35195b5de.zip | |
Rollup merge of #59532 - mbrubeck:docs, r=Centril
In doc examples, don't ignore read/write results Calling `Read::read` or `Write::write` without checking the returned `usize` value is almost always an error. Example code in the documentation should demonstrate how to use the return value correctly. Otherwise, people might copy the example code thinking that it is okay to "fire and forget" these methods.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
