summaryrefslogtreecommitdiffstats
path: root/src/value.rs
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-02-07 17:09:41 -0800
committerRyan Leckey <leckey.ryan@gmail.com>2017-02-07 17:09:41 -0800
commit9239ee5c27eb6d87098b10cb8e1f4ea9465d1add (patch)
treef4a3fb1098a94ca1fc148360ab90434c06400b4f /src/value.rs
parent115fe07e2c11aa72e91a5ce9b028ed1c1ff7d806 (diff)
Add path resolution using a strict subset of JSONPath
Diffstat (limited to 'src/value.rs')
-rw-r--r--src/value.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.rs b/src/value.rs
index 5228d91..4451400 100644
--- a/src/value.rs
+++ b/src/value.rs
@@ -77,7 +77,7 @@ impl Value {
pub fn as_map(&self) -> Option<&HashMap<String, Value>> {
match *self {
Value::Table(ref value) => Some(value),
- _ => None
+ _ => None,
}
}
}