Skip to content

Commit

Permalink
Fix for upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jul 5, 2014
1 parent 4ff3544 commit 473131f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions phf_mac/src/lib.rs
Expand Up @@ -361,8 +361,8 @@ fn create_map(cx: &mut ExtCtxt, sp: Span, entries: Vec<Entry>, state: HashState)
MacExpr::new(quote_expr!(cx, ::phf::PhfMap {
k1: $k1,
k2: $k2,
disps: &'static $disps,
entries: &'static $entries,
disps: &$disps,
entries: &$entries,
}))
}

Expand Down Expand Up @@ -392,9 +392,9 @@ fn create_ordered_map(cx: &mut ExtCtxt, sp: Span, entries: Vec<Entry>,
MacExpr::new(quote_expr!(cx, ::phf::PhfOrderedMap {
k1: $k1,
k2: $k2,
disps: &'static $disps,
idxs: &'static $idxs,
entries: &'static $entries,
disps: &$disps,
idxs: &$idxs,
entries: &$entries,
}))
}

Expand Down

0 comments on commit 473131f

Please sign in to comment.