aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-11-06 10:39:58 -0600
committerAlex Crichton <alex@alexcrichton.com>2014-11-06 10:39:58 -0600
commitd201170d4791cca7f3d2a8dce0fc94d145922c40 (patch)
tree04b0970a8f8333d67553f56ce312a795b4dcc936
parent78acb5081d57bec85fd51ecb596506b14d17d430 (diff)
parent3dd74d6dbdc9b9af7327cc2edc908ed0fbf59954 (diff)
downloadmilf-rs-d201170d4791cca7f3d2a8dce0fc94d145922c40.tar.gz
milf-rs-d201170d4791cca7f3d2a8dce0fc94d145922c40.zip
Merge pull request #28 from steveklabnik/master
fix error on master
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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
}