From dfb7a811ae0cb8c98ceed93ecc3573555cca03db Mon Sep 17 00:00:00 2001 From: Alexis Beingessner Date: Fri, 7 Nov 2014 14:35:18 -0500 Subject: fallout from deprecating find_copy and get_copy --- src/libsyntax/ext/tt/transcribe.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/ext') diff --git a/src/libsyntax/ext/tt/transcribe.rs b/src/libsyntax/ext/tt/transcribe.rs index 5842afe11ce..3cb861aac20 100644 --- a/src/libsyntax/ext/tt/transcribe.rs +++ b/src/libsyntax/ext/tt/transcribe.rs @@ -94,7 +94,7 @@ fn lookup_cur_matched_by_matched(r: &TtReader, start: Rc) -> Rc Option> { - 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)) } -- cgit 1.4.1-3-g733a5