diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-20 18:53:30 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-22 08:57:58 -0700 |
| commit | 02dab5a3e79a48c77d28c9aa6dcfea173584933b (patch) | |
| tree | 2e08eb2c58f12aee139a54d2712c9213cb83cd32 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 55603830715a1e4c99683660b141b6a4c3491d0c (diff) | |
| download | rust-02dab5a3e79a48c77d28c9aa6dcfea173584933b.tar.gz rust-02dab5a3e79a48c77d28c9aa6dcfea173584933b.zip | |
rand: Use fill() instead of read()
It's possible for a reader to have a short read, and there's no reason the task should fail in this scenario. By using fill(), this has a stronger guarantee that the buffer will get filled with data.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
