For CheckedIntDecoder/LengthDecoder.
(&'me self)
| 44 | impl<'a, T: Int> IntDecoder<'a, T> { |
| 45 | // For CheckedIntDecoder/LengthDecoder. |
| 46 | pub(crate) fn borrowed_clone<'me: 'a>(&'me self) -> IntDecoder<'me, T> { |
| 47 | let mut cow = CowSlice::default(); |
| 48 | cow.set_borrowed_slice_impl(self.0.ref_slice().clone()); |
| 49 | Self(cow) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | impl<'a, T: Int> View<'a> for IntDecoder<'a, T> { |
no test coverage detected