(bytes: &[u8])
| 1149 | } |
| 1150 | |
| 1151 | #[inline] |
| 1152 | fn bytes_to_string(bytes: &[u8]) -> String { |
| 1153 | // All slice boundaries land on ASCII delimiters, so the content is valid |
| 1154 | // UTF-8 whenever the input string was; lossy keeps us total anyway. |
| 1155 | String::from_utf8_lossy(bytes).into_owned() |
| 1156 | } |
| 1157 | |
| 1158 | fn dedup_in_order(v: Vec<String>) -> Vec<String> { |
no outgoing calls
no test coverage detected