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 Jan 5, 2015
1 parent ab4786c commit 7ea6a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phf_mac/src/lib.rs
Expand Up @@ -226,7 +226,7 @@ fn has_duplicates(cx: &mut ExtCtxt, sp: Span, entries: &[Entry]) -> bool {
for entry in entries.iter() {
let &(ref mut spans, _) = match strings.entry(&entry.key_contents) {
Occupied(e) => e.into_mut(),
Vacant(e) => e.set((vec![], &entry.key)),
Vacant(e) => e.insert((vec![], &entry.key)),
};
spans.push(entry.key.span);
}
Expand Down

0 comments on commit 7ea6a7b

Please sign in to comment.