Skip to content
Unverified Commit 950050f4 authored by icodezjb's avatar icodezjb Committed by GitHub
Browse files

use write_all instead of write

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