(line: &str)
| 2638 | } |
| 2639 | |
| 2640 | fn namespace_include_snippet(line: &str) -> String { |
| 2641 | let text = line.trim(); |
| 2642 | if text.chars().count() <= 50 { |
| 2643 | return text.to_string(); |
| 2644 | } |
| 2645 | text.chars().take(47).collect::<String>() + "..." |
| 2646 | } |
| 2647 | |
| 2648 | fn namespace_include_message( |
| 2649 | include_snippet: &str, |
no test coverage detected