Skip to content

Conversation

clarfonthey
Copy link

@clarfonthey clarfonthey commented Jan 15, 2017

This requires a Clone implementation for the iterator, but this isn't a problem because the default implementations do.

@clarfonthey
Copy link
Author

Not quite sure who I should talk to about this, this has been sitting here for a while and I was wondering if anyone is looking at it.

@Manishearth Manishearth merged commit 6dbfd72 into unicode-rs:master Apr 2, 2017
@Manishearth
Copy link
Member

Thanks, and sorry about the delay!

@Manishearth
Copy link
Member

I guess the use case here is when you partially iterate and just want the rest of it as a string.

@clarfonthey
Copy link
Author

Another use case is also that you can easily write the normalised forms into a file or stream without any intermediate copying. This basically happened after I did rust-lang/rust#38909.

@Manishearth
Copy link
Member

Oh, lol, this is the decomposition crate, not the grapheme crate. Yeah, this is very useful, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants