summaryrefslogtreecommitdiffstats
path: root/src/value.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.rs')
-rw-r--r--src/value.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/value.rs b/src/value.rs
index 561394d..b66c721 100644
--- a/src/value.rs
+++ b/src/value.rs
@@ -25,7 +25,7 @@ impl<'a> Value<'a> {
Value::Float(value) => Some(value.to_string().into()),
Value::Boolean(value) => Some(value.to_string().into()),
- _ => unimplemented!()
+ _ => unimplemented!(),
}
}
@@ -44,7 +44,7 @@ impl<'a> Value<'a> {
}
}
- _ => unimplemented!()
+ _ => unimplemented!(),
}
}
@@ -56,7 +56,7 @@ impl<'a> Value<'a> {
Value::Boolean(value) => Some(if value { 1 } else { 0 }),
Value::Float(value) => Some(value.round() as i64),
- _ => unimplemented!()
+ _ => unimplemented!(),
}
}
@@ -68,7 +68,7 @@ impl<'a> Value<'a> {
Value::Integer(value) => Some(value as f64),
Value::Boolean(value) => Some(if value { 1.0 } else { 0.0 }),
- _ => unimplemented!()
+ _ => unimplemented!(),
}
}
}