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

Don't require BufRead, only Read #23

Merged
merged 1 commit into from Mar 2, 2015
Merged

Don't require BufRead, only Read #23

merged 1 commit into from Mar 2, 2015

Conversation

@jmesmon
Copy link
Contributor

jmesmon commented Mar 2, 2015

While BufRead is preferable to avoid dog-slow performance, requiring
when no methods are called is also problematic, especially for wrappers
around Read that shouldn't necessarily need to know they're wrapping
BufRead.

While BufRead is preferable to avoid dog-slow performance, requiring
when no methods are called is also problematic, especially for wrappers
around Read that shouldn't necessarily need to know they're wrapping
BufRead.
@TyOverby
Copy link
Collaborator

TyOverby commented Mar 2, 2015

Oh yeah, this was an artifact from the old Reader trait. Thanks for noticing, and thanks for the pull request!

TyOverby added a commit that referenced this pull request Mar 2, 2015
Don't require BufRead, only Read
@TyOverby TyOverby merged commit 99a8133 into servo:master Mar 2, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@jmesmon jmesmon deleted the jmesmon:no-bufread branch Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.