about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorantoine-de <antoine.desbordes@gmail.com>2018-11-21 11:17:48 +0100
committerantoine-de <antoine.desbordes@gmail.com>2018-11-21 11:17:48 +0100
commit1ed91951c3012e9aabb403d28b902c56cc143907 (patch)
treec2dca740f26058da2ecad607b3c3d77a5f7ba103 /src/test/incremental/thinlto
parent780658a464603fa755d94b27f72a375bd81d07ea (diff)
downloadrust-1ed91951c3012e9aabb403d28b902c56cc143907.tar.gz
rust-1ed91951c3012e9aabb403d28b902c56cc143907.zip
fix small doc mistake
The std::io::read main documentation can lead to error because the
buffer is prefilled with 10 zeros that will pad the response.
Using an empty vector is better.

The `read_to_end` documentation is already correct though.

This is my first rust PR, don't hesitate to tell me if I did something
wrong.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions