Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Feb 8, 2018
1 parent e388016 commit cabc82f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ impl Function {

#[async(boxed)]
pub fn call(self, a: Arguments) -> Result {
Ok(await!((self.function)(await!(self.signature.bind(a))?))?)
let f = self.function; // rust-lang/rust#48048
Ok(await!(f(await!(self.signature.bind(a))?))?)
}
}

Expand Down

0 comments on commit cabc82f

Please sign in to comment.