summaryrefslogtreecommitdiffstats
path: root/src/file
diff options
context:
space:
mode:
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() {