about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-29 02:40:57 +0100
committerGitHub <noreply@github.com>2019-03-29 02:40:57 +0100
commit0494cffd3ca975aaeb58230cf7904ece05836133 (patch)
tree9c5d04734e9346a741533cc3a89fe7be91d28943 /src/libstd/sys/unix/stack_overflow.rs
parentbf3e6c63d6b1a6efec0a65e22fbe9b9013d2705e (diff)
parent8dbae794b0683668d1b46d2c319ab36dcd9bd96d (diff)
downloadrust-0494cffd3ca975aaeb58230cf7904ece05836133.tar.gz
rust-0494cffd3ca975aaeb58230cf7904ece05836133.zip
Rollup merge of #59498 - mbrubeck:write_all, r=Centril
Use 'write_all' instead of 'write' in example code

Using `write` without looping and checking the result can cause silent data loss.  Example code should use `write_all` so that people don't copy this pattern.  (Of course this does not include example code for docs that are specifically about the `write` method.)
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions