Integrate vendored "utf-8" crate with tendril types#732
Integrate vendored "utf-8" crate with tendril types#732simonwuelker merged 1 commit intoservo:mainfrom
Conversation
| NotEnoughInput, | ||
| MalformedUtf8Buffer, | ||
| Valid, | ||
| } |
There was a problem hiding this comment.
This enum replaces Option<Result<(), ()>> as a return type from try_complete_offsets :P
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
6cee884 to
fceae4f
Compare
|
This is a breaking change because |
I don't think adding a trait impl is a breaking change? |
|
We vendored
utf-8intotendril.tendrilin turn definesutf8_decode::IncompleteUtf8which is a simple wrapper aroundutf8::Incompletethat adds a few convenience functions. We can merge these two types together for simplicity.