diff options
| author | root <root@localhost> | 2014-07-17 19:34:07 +0200 |
|---|---|---|
| committer | root <root@localhost> | 2014-07-17 20:22:40 +0200 |
| commit | 42357d772b8a3a1ce4395deeac0a5cf1f66e951d (patch) | |
| tree | 22fafdc4b2cc9356f3344e625fb6afc9fb21c426 /src/rustllvm/RustWrapper.cpp | |
| parent | d6b42c2463ddfc7d16b9199f7725e704c94c2acf (diff) | |
| download | rust-42357d772b8a3a1ce4395deeac0a5cf1f66e951d.tar.gz rust-42357d772b8a3a1ce4395deeac0a5cf1f66e951d.zip | |
core::str: Implement Chars iterator using slice::Items
Re-use the vector iterator to implement the chars iterator. The iterator uses our guarantee that the string contains valid UTF-8, but its only unsafe code is transmuting the decoded u32 into char.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
