summaryrefslogtreecommitdiffstats
path: root/src/file
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-01-30 14:56:49 -0800
committerRyan Leckey <leckey.ryan@gmail.com>2017-01-30 14:56:49 -0800
commit4b9519d20788f9da6b82a94e036cae7c77cb4798 (patch)
treefc8ecfd9d89e8216eb707ab253dda9234241c8e9 /src/file
parent4d21cdf6730e6d1c327f95a733dbf6ab1d8d8976 (diff)
:shirt:
Diffstat (limited to 'src/file')
-rw-r--r--src/file/json.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/file/json.rs b/src/file/json.rs
index 587d54a..5f1c3a2 100644
--- a/src/file/json.rs
+++ b/src/file/json.rs
@@ -21,7 +21,9 @@ impl Content {
fn from_json_value<'a>(value: &serde_json::Value) -> Option<Cow<'a, Value>> {
match *value {
- serde_json::Value::String(ref value) => Some(Cow::Owned(Value::String(Cow::Borrowed(value)))),
+ serde_json::Value::String(ref value) => {
+ Some(Cow::Owned(Value::String(Cow::Borrowed(value))))
+ }
serde_json::Value::Number(ref value) => {
if let Some(value) = value.as_i64() {