From 3dd74d6dbdc9b9af7327cc2edc908ed0fbf59954 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 6 Nov 2014 08:03:38 -0500 Subject: fix error on master --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index f33568c..95dd5ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -180,7 +180,7 @@ impl Value { for key in path.split('.') { match cur_value { &Table(ref hm) => { - match hm.find_with(|k| key.cmp(&k.as_slice())) { + match hm.find_with(|k| key.cmp(k.as_slice())) { Some(v) => cur_value = v, _ => return None } -- cgit v1.2.3