(bytes: &[u8])
| 1139 | } |
| 1140 | |
| 1141 | #[inline] |
| 1142 | fn bytes_to_string(bytes: &[u8]) -> String { |
| 1143 | // All slice boundaries land on ASCII delimiters, so the content is valid |
| 1144 | // UTF-8 whenever the input string was; lossy keeps us total anyway. |
| 1145 | String::from_utf8_lossy(bytes).into_owned() |
| 1146 | } |
| 1147 | |
| 1148 | fn dedup_in_order(v: Vec<String>) -> Vec<String> { |
no outgoing calls
no test coverage detected