Skip to content

Conversation

@joboet
Copy link
Contributor

@joboet joboet commented Apr 19, 2024

rust-lang/rust#123909 will add a utf8_chunks method to [u8], which will conflict with the method provided by bstr. To make this crate resilient against that change, regardless of how the discussion around it is resolved, this PR changes the relevant lines to use UFCS which tells the compiler to prefer the bstr method.

@joboet joboet changed the title Use UCFS for utf8_chunks Use UFCS for utf8_chunks Apr 19, 2024
@GrayJack GrayJack merged commit ab654d6 into GrayJack:dev Apr 22, 2024
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