Merge pull request #28 from steveklabnik/master

fix error on master
This commit is contained in:
Alex Crichton 2014-11-06 10:39:58 -06:00
commit d201170d47

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
}