Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I was going to complain about an issue in the function take_while_m_n, but [update : and I will do] ... #1716

Open
schwidom opened this issue Dec 10, 2023 · 0 comments

Comments

@schwidom
Copy link

schwidom commented Dec 10, 2023

... I see now that it is fixed in this version of the crate here. The problem which I have now is that your version here seems to be version 7.1.2 (Cargo.toml) but the version in the official crate repo where I found an issue is versioned by 7.1.3.

When will this version here be available in the official 'cargo install' channel?

[update]

No, I have it, it is in the 7.x branch. Sorry for the confusion. I looked in the main branch which is far more developed.

The take_while_m_n function in the branch 7.x in the files bytes/{complete,stream}.rs
has the problem that it parses to the end if the predicate does not match even if m is far shorter.

I would be glad if this could be fixed.

Thanks in advance.

@schwidom schwidom changed the title I was going to complain about an issue in the function take_while_m_n, but I was going to complain about an issue in the function take_while_m_n, but [update : and I will do] ... Dec 10, 2023
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

No branches or pull requests

1 participant