rust-lang/rust — pull request #18329 by sfackler (2014-10-26 01:39:18+00:00)
Title: Add MemWriter::clear

This is useful in cases where you're buffering and sending data in a loop, like this: https://github.com/sfackler/rust-postgres/blob/a480ec1cfb94a155dad64cfad821e4c7d1b8dccb/src/lib.rs#L1628-L1674