fix error on master

This commit is contained in:
Steve Klabnik 2014-11-06 08:03:38 -05:00
parent 78acb5081d
commit 3dd74d6dbd

View file

@ -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
}