(string: String)
| 325 | /// Since WTF-8 is a superset of UTF-8, this always succeeds. |
| 326 | #[inline] |
| 327 | pub fn from_string(string: String) -> Wtf8Buf { |
| 328 | Wtf8Buf { |
| 329 | bytes: string.into_bytes(), |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | pub fn join<I, S>(sep: impl AsRef<Wtf8>, iter: I) -> Wtf8Buf |
| 334 | where |
nothing calls this directly
no test coverage detected