(content: &[u8])
| 326 | } |
| 327 | |
| 328 | fn count_line_units(content: &[u8]) -> usize { |
| 329 | if content.is_empty() { |
| 330 | 0 |
| 331 | } else { |
| 332 | content.split_inclusive(|&b| b == b'\n').count() |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | #[derive(Clone, Debug)] |
| 337 | struct ImportLine { |
no test coverage detected