Skip to content

Commit 57808cf

Browse files
committed
fix(compat): make it work with latest hyper
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.
1 parent 4f98fc1 commit 57808cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mako/api/lib/mbuild.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ else {
726726
};
727727
% endif
728728
let mut client = &mut *self.hub.client.borrow_mut();
729-
let mut req = client.borrow_mut().request(${method_name_to_variant(m.httpMethod)}, url.as_ref())
729+
let mut req = client.borrow_mut().request(${method_name_to_variant(m.httpMethod)}, &url)
730730
.header(UserAgent(self.hub._user_agent.clone()))\
731731
% if default_scope:
732732

0 commit comments

Comments
 (0)