feat(header): add Headers::append_raw

This commit is contained in:
Sean McArthur
2017-01-25 23:41:47 -08:00
parent cca798a09e
commit b4b2fb782e
3 changed files with 71 additions and 16 deletions

View File

@@ -33,7 +33,8 @@ impl Item {
}
#[inline]
pub fn mut_raw(&mut self) -> &mut Raw {
pub fn raw_mut(&mut self) -> &mut Raw {
self.raw();
self.typed = PtrMapCell::new();
unsafe {
self.raw.get_mut()