(bytes: &[u8])
| 1121 | } |
| 1122 | |
| 1123 | #[inline] |
| 1124 | fn bytes_to_string(bytes: &[u8]) -> String { |
| 1125 | // All slice boundaries land on ASCII delimiters, so the content is valid |
| 1126 | // UTF-8 whenever the input string was; lossy keeps us total anyway. |
| 1127 | String::from_utf8_lossy(bytes).into_owned() |
| 1128 | } |
| 1129 | |
| 1130 | fn dedup_in_order(v: Vec<String>) -> Vec<String> { |
no outgoing calls
no test coverage detected