(&self)
| 467 | // `as_str()` that, when combined with a jump table, is blowing the icache, slowing things down. |
| 468 | impl<B: Clone> Clone for KStringInner<B> { |
| 469 | fn clone(&self) -> Self { |
| 470 | match self { |
| 471 | Self::Singleton(s) => Self::Singleton(s), |
| 472 | Self::Inline(s) => Self::Inline(*s), |
| 473 | Self::Owned(s) => Self::Owned(s.clone()), |
| 474 | } |
| 475 | } |
| 476 | } |
| 477 | |
| 478 | #[allow(unused)] |
no test coverage detected