Skip to content

Add contains to HeaderValues.#240

Merged
yoshuawuyts merged 1 commit intohttp-rs:mainfrom
LukeMathWalker:contains
Sep 16, 2020
Merged

Add contains to HeaderValues.#240
yoshuawuyts merged 1 commit intohttp-rs:mainfrom
LukeMathWalker:contains

Conversation

@LukeMathWalker
Copy link
Copy Markdown
Contributor

A bit of syntax sugar to avoid having to create an iterator and loop through it to check for membership.

Copy link
Copy Markdown
Member

@jbr jbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems useful to me 👍

@yoshuawuyts yoshuawuyts merged commit e089cf0 into http-rs:main Sep 16, 2020
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.

3 participants