Skip to content

Adding a str::as_bytes<T>(str, fn([u8] -> T) -> T function #1783

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

Merged
merged 1 commit into from
Feb 8, 2012

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Feb 8, 2012

This pattern is used in a couple places, so it'd be nice to abstract it away.

This pattern is used in a couple places, so it'd be nice
to abstract it away.
brson added a commit that referenced this pull request Feb 8, 2012
Adding a str::as_bytes<T>(str, fn([u8] -> T) -> T function
@brson brson merged commit 5f8e0dd into rust-lang:master Feb 8, 2012
@brson
Copy link
Contributor

brson commented Feb 8, 2012

Thanks!

celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 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