fallout from deprecating find_copy and get_copy

This commit is contained in:
Alexis Beingessner 2014-11-07 14:35:18 -05:00
parent 64efd2650c
commit dfb7a811ae
29 changed files with 92 additions and 94 deletions

View file

@ -94,7 +94,7 @@ fn lookup_cur_matched_by_matched(r: &TtReader, start: Rc<NamedMatch>) -> Rc<Name
}
fn lookup_cur_matched(r: &TtReader, name: Ident) -> Option<Rc<NamedMatch>> {
let matched_opt = r.interpolations.find_copy(&name);
let matched_opt = r.interpolations.get(&name).cloned();
matched_opt.map(|s| lookup_cur_matched_by_matched(r, s))
}