(text: &'a str, color: DiffTextColor)
| 73 | impl<'a> DiffTextSegment<'a> { |
| 74 | #[inline(always)] |
| 75 | pub fn basic(text: &'a str, color: DiffTextColor) -> Self { |
| 76 | Self { text: DiffText::Basic(text), color, pad_to: 0 } |
| 77 | } |
| 78 | |
| 79 | #[inline(always)] |
| 80 | pub fn spacing(spaces: u8) -> Self { |
no outgoing calls
no test coverage detected