Improve StringBuffer and FastString docs
authorPhil Ruffwind <rf@rufflewind.com>
Sat, 17 Dec 2016 23:09:06 +0000 (18:09 -0500)
committerBen Gamari <ben@smart-cactus.org>
Sat, 17 Dec 2016 23:09:41 +0000 (18:09 -0500)
commit21dde8126d615a082648c916a3e20d9878f22517
tree5ed1653b1d26c1fda64851f33ea800d511f65a66
parent90cfa84981ee1f9fb756a3af1bd707674c18c034
Improve StringBuffer and FastString docs

This area of code contains a lot of unsafe functionality, so it might be
worth documenting to reduce the risk of misuse.

Test Plan: inspection

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2872
compiler/utils/FastString.hs
compiler/utils/StringBuffer.hs