Skip to content

Conversation

MatrixFrog
Copy link

@MatrixFrog MatrixFrog commented Jul 23, 2025

This documentation is attached to nom::bytes::take_while but the example was using nom::bytes::complete::take_while.

I also updated the example to reflect the fact that this version behaves like nom::bytes::streaming::take_while, not nom::bytes::complete::take_while. The part I'm not sure about is, if I want the streaming version, is there a reason I should use this version over the one in the streaming submodule? Is there a case where the two behave differently?

@MatrixFrog MatrixFrog marked this pull request as ready for review July 23, 2025 05:20
@MatrixFrog MatrixFrog requested a review from Geal as a code owner July 23, 2025 05:20
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.

1 participant