Fix warnings and doc-tests
Merge pull request #122 from tomaka/update-rustc

Fix warnings and doc-tests
Fix "read_front_buffer" not reading front buffer