| 42 | |
| 43 | #[derive(Debug)] |
| 44 | pub struct StringOutput<'t, 'j> |
| 45 | where |
| 46 | 'j: 't, |
| 47 | { |
| 48 | pub(crate) data: StringOutputType<'t, 'j>, |
| 49 | // SAFETY: this is used as an invariant to determine if the string is ascii only |
| 50 | // so this should not be set except when known |
| 51 | ascii_only: bool, |
| 52 | } |
| 53 | |
| 54 | impl From<StringOutput<'_, '_>> for String { |
| 55 | fn from(val: StringOutput) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…