(iter: T)
| 578 | /// like concatenating ill-formed UTF-16 strings effectively would. |
| 579 | impl FromIterator<CodePoint> for Wtf8Buf { |
| 580 | fn from_iter<T: IntoIterator<Item = CodePoint>>(iter: T) -> Wtf8Buf { |
| 581 | let mut string = Wtf8Buf::new(); |
| 582 | string.extend(iter); |
| 583 | string |
| 584 | } |
| 585 | } |
| 586 | |
| 587 | /// Append code points from an iterator to the string. |