about summary refs log tree commit diff
path: root/src/libstd/ascii.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-30 19:26:35 +0000
committerbors <bors@rust-lang.org>2014-06-30 19:26:35 +0000
commita345c543344b8ff4f3aeecb816856101443bf907 (patch)
tree3b17729e65b86e277270cf316892f7e65443018d /src/libstd/ascii.rs
parent94343da1bdf4de84d0ece90d920400697ad7e143 (diff)
parent3d84b4be3d7691026993d5c733bc26cc637e7c50 (diff)
downloadrust-a345c543344b8ff4f3aeecb816856101443bf907.tar.gz
rust-a345c543344b8ff4f3aeecb816856101443bf907.zip
auto merge of #14613 : schmee/rust/utf16-iterator, r=huonw
Closes #14358.

~~The tests are not yet moved to `utf16_iter`, so this probably won't compile. I'm submitting this PR anyway so it can be reviewed and since it was mentioned in #14611.~~ EDIT: Tests now use `utf16_iter`.

This deprecates `.to_utf16`. `x.to_utf16()` should be replaced by either `x.utf16_iter().collect::<Vec<u16>>()` (the type annotation may be optional), or just `x.utf16_iter()` directly, if it can be used in an iterator context.

[breaking-change]

cc @huonw
Diffstat (limited to 'src/libstd/ascii.rs')
0 files changed, 0 insertions, 0 deletions