about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-20 18:53:30 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-22 08:57:58 -0700
commit02dab5a3e79a48c77d28c9aa6dcfea173584933b (patch)
tree2e08eb2c58f12aee139a54d2712c9213cb83cd32 /src/rustllvm/ExecutionEngineWrapper.cpp
parent55603830715a1e4c99683660b141b6a4c3491d0c (diff)
downloadrust-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