(&mut self, s: &str)
| 147 | |
| 148 | impl Arena { |
| 149 | pub fn put(&mut self, s: &str) -> StrRef { |
| 150 | let off = self.buf.len() as u32; |
| 151 | self.buf.extend_from_slice(s.as_bytes()); |
| 152 | (off, s.len() as u32) |
| 153 | } |
| 154 | |
| 155 | /// Not used by the seed emitter yet — R2 (docstring/signature/etc.). Kept |
| 156 | /// so the arena API is complete alongside the layout it feeds. |