Skip to content

Add with_mem_writer to std::rt::io::mem. #9038

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

Closed
wants to merge 1 commit into from

Conversation

brandonson
Copy link
Contributor

This is in many ways a replacement for the current std::io::with_str_writer.

This is in many ways a replacement for the current
std::io::with_str_writer.
@brandonson
Copy link
Contributor Author

Something similar is likely to be useful for moves to rt::io in many cases, and certainly in moving extra::json as discussed in #8679. I believe there are no plans for directly recreating the character and string i/o methods that are currently in std::io, but if this method or a similar one exists it would be possible to update code using with_str_writer by simply adding string-to-byte conversions.

bors added a commit that referenced this pull request Sep 11, 2013
This is in many ways a replacement for the current std::io::with_str_writer.
@bors bors closed this Sep 11, 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