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

Stop using std.Buffer in places that don't make sense #4405

Closed
wants to merge 8 commits into from

Conversation

daurnimator
Copy link
Contributor

@daurnimator daurnimator commented Feb 7, 2020

I imagine due to its name, std.Buffer is used in many places that it shouldn't be. (Related: #4385)
This PR moves many use-sites over to more-correct APIs

@Rocknest
Copy link
Contributor

Rocknest commented Feb 7, 2020

Perhaps std.c would be a better place for Buffer?

@daurnimator daurnimator force-pushed the less-buffer branch 3 times, most recently from 5e312c9 to 3e413bc Compare February 11, 2020 15:08
@daurnimator

This comment has been minimized.

@daurnimator daurnimator force-pushed the less-buffer branch 2 times, most recently from 6abf2d1 to 1106de2 Compare March 1, 2020 04:03
@daurnimator daurnimator added the standard library This issue involves writing Zig code for the standard library. label Mar 1, 2020
@daurnimator daurnimator marked this pull request as ready for review March 1, 2020 07:48
@daurnimator daurnimator requested a review from andrewrk March 1, 2020 07:48
@andrewrk andrewrk closed this in 7f975bf Mar 6, 2020
@andrewrk
Copy link
Member

andrewrk commented Mar 6, 2020

Thanks @daurnimator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
standard library This issue involves writing Zig code for the standard library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants