-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Graphemes iterator; tidy unicode exports
- Graphemes and GraphemeIndices structs implement iterators over grapheme clusters analogous to the Chars and CharOffsets for chars in a string. Iterator and DoubleEndedIterator are available for both. - tidied up the exports for libunicode. crate root exports are now moved into more appropriate module locations: - UnicodeStrSlice, Words, Graphemes, GraphemeIndices are in str module - UnicodeChar exported from char instead of crate root - canonical_combining_class is exported from str rather than crate root Since libunicode's exports have changed, programs that previously relied on the old export locations will need to change their `use` statements to reflect the new ones. See above for more information on where the new exports live. closes #7043 [breaking-change]
- Loading branch information
Showing
9 changed files
with
1,599 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
cf432b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at kwantam@cf432b8
cf432b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging kwantam/rust/master = cf432b8 into auto
cf432b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kwantam/rust/master = cf432b8 merged ok, testing candidate = 2692ae1
cf432b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/346
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/347
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/346
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/347
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/349
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/350
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/349
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/355
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/350
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/349
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/352
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/350
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/350
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/351
cf432b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 2692ae1