Skip to content

Commit

Permalink
Merge pull request #74 from petrochenkov/master
Browse files Browse the repository at this point in the history
Fix invalid lifetime name
  • Loading branch information
shepmaster authored Oct 6, 2016
2 parents bd0ae14 + b28b55e commit 41e2fb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl<'d> Args<'d> {
}
}

fn pop_value_or_context_node<'_>(&mut self, context: &EvaluationContext<'_, 'd>) -> Value<'d> {
fn pop_value_or_context_node<'a>(&mut self, context: &EvaluationContext<'a, 'd>) -> Value<'d> {
self.0.pop()
.unwrap_or_else(|| Value::Nodeset(nodeset![context.node]))
}
Expand All @@ -161,7 +161,7 @@ impl<'d> Args<'d> {
}


fn pop_nodeset_or_context_node<'_>(&mut self, context: &EvaluationContext<'_, 'd>)
fn pop_nodeset_or_context_node<'a>(&mut self, context: &EvaluationContext<'a, 'd>)
-> Result<Nodeset<'d>, Error>
{
match self.0.pop() {
Expand Down

0 comments on commit 41e2fb1

Please sign in to comment.