Skip to content

core: Add to_bytes method to StrSlice trait #5391

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
Mar 16, 2013
Merged

Conversation

brson
Copy link
Contributor

@brson brson commented Mar 15, 2013

r?

I want to use this function as a method. There's probably a better way to design this but the existing ToBytes trait is not what I am looking for (it has a parameter to indicate the byte order).

bors added a commit that referenced this pull request Mar 15, 2013
r?

I want to use this function as a method. There's probably a better way to design this but the existing `ToBytes` trait is not what I am looking for (it has a parameter to indicate the byte order).
@bors bors closed this Mar 16, 2013
@bors bors merged commit 38ac809 into rust-lang:incoming Mar 16, 2013
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