about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorroot <root@localhost>2014-07-17 19:34:07 +0200
committerroot <root@localhost>2014-07-17 20:22:40 +0200
commit42357d772b8a3a1ce4395deeac0a5cf1f66e951d (patch)
tree22fafdc4b2cc9356f3344e625fb6afc9fb21c426 /src/rustllvm/ExecutionEngineWrapper.cpp
parentd6b42c2463ddfc7d16b9199f7725e704c94c2acf (diff)
downloadrust-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/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions