rust-leipzig / wiki

Markdown based wiki written in Rust
MIT License
17 stars 4 forks source link

[Fixed] use of write() without checkout written amount #59

Closed ghost closed 7 years ago

ghost commented 7 years ago

It is not guaranteed that write() process the entire buffer. Therefore either a check for the amount of data written must be added or write() is replaced by write_all().

https://github.com/Manishearth/rust-clippy/wiki#unused_io_amount

saschagrunert commented 7 years ago

Thank you very much for the contribution! :+1:

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 41.221% when pulling 70f49258ae5febf48f8fbc70ab7a8024ebe4d3c8 on niko2342:master into 1be26713cef989c080dfa9a8bd0b37c183484dcb on rust-leipzig:master.