The text::Buffer and its snapshot already used the same representation for their content, so we can just make Buffer deref to a Snapshot.
The text::Buffer and its snapshot already used the same representation for their content, so we can just make Buffer deref to a Snapshot.