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

Fix for upstream changes #70

Merged
merged 1 commit into from Jan 3, 2015
Merged

Fix for upstream changes #70

merged 1 commit into from Jan 3, 2015

Conversation

@sfackler
Copy link
Contributor

sfackler commented Jan 3, 2015

No description provided.

try!(formatter.write(b"?"));
try!(formatter.write(query.as_bytes()));
try!(formatter.write_str("?"));
try!(formatter.write_str(&**query));

This comment has been minimized.

@SimonSapin

SimonSapin Jan 3, 2015

Member

Is &**query preferable to query.as_slice()? (Same for &*self.url.scheme v.s. self.url.scheme.as_slice())

This comment has been minimized.

@sfackler

sfackler Jan 3, 2015

Author Contributor

Not sure. It's what I've been using for my own stuff. I don't feel too strongly either way, though.

This comment has been minimized.

@SimonSapin

SimonSapin Jan 3, 2015

Member

Ok. Please change them to .as_slice(), then.

@sfackler
Copy link
Contributor Author

sfackler commented Jan 3, 2015

Updated

@SimonSapin
Copy link
Member

SimonSapin commented Jan 3, 2015

Thanks!

SimonSapin added a commit that referenced this pull request Jan 3, 2015
Fix for upstream changes
@SimonSapin SimonSapin merged commit 886faa5 into servo:master Jan 3, 2015
1 check was pending
1 check was pending
continuous-integration/travis-ci The Travis CI build is in progress
Details
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.