Skip to content

Commit

Permalink
fix(compat): make it work with latest hyper
Browse files Browse the repository at this point in the history
This is known to work with the master of hyper. It's probably OK
to keep it, preparing for the next release and under the assupmtion
that I will not be releasing binaries for a while.
  • Loading branch information
Byron committed Apr 28, 2015
1 parent 4f98fc1 commit 57808cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mako/api/lib/mbuild.mako
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ else {
};
% endif
let mut client = &mut *self.hub.client.borrow_mut();
let mut req = client.borrow_mut().request(${method_name_to_variant(m.httpMethod)}, url.as_ref())
let mut req = client.borrow_mut().request(${method_name_to_variant(m.httpMethod)}, &url)
.header(UserAgent(self.hub._user_agent.clone()))\
% if default_scope:
Expand Down

0 comments on commit 57808cf

Please sign in to comment.