(&mut self, bytes: &[u8])
| 25 | #[inline(always)] |
| 26 | fn new() -> Self { |
| 27 | Self { |
| 28 | buf: SmallVec::new(), |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | impl<const N: usize> Write for SmallVecWriter<N> { |
| 34 | #[inline(always)] |
| 35 | fn write_str(&mut self, s: &str) -> fmt::Result { |
| 36 | self.buf.extend_from_slice(s.as_bytes()); |
no outgoing calls
no test coverage detected