fix: allow users to type decimal values
This commit is contained in:
1 parent
f0db43817c
commit
e1de6064d9
3 files changed
+90
-80
No files matched your search
@@ -13,7 +13,7 @@ use std::fmt::Display;
|
||||
pub enum ValueType {
|
||||
/// Indicates a `String` value.
|
||||
String(Option<String>),
|
||||
/// Indicates an `i32` value.
|
||||
/// Indicates an `i32` value. /// Indicates an `f32` value.
|
||||
Number(Option<String>),
|
||||
/// Indicates a `Vec<T>`, where `T` can be any other `ValueType`.
|
||||
List(Option<Vec<ValueType>>),
|
||||
|
||||
Reference in new issue
Block a user