Commit 257beba0 authored by icodezjb's avatar icodezjb Committed by Gav Wood
Browse files

use write_all instead of write (#488)

io::Write::write is not guaranteed to process the entire buffer. it return how many bytes were processed, which might be smaller than a given buffer’s length. use write_all instead.
parent 18d4234b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment