summaryrefslogtreecommitdiff
path: root/src/parameter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parameter.rs')
-rw-r--r--src/parameter.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parameter.rs b/src/parameter.rs
index 8e45b9c..6d15e93 100644
--- a/src/parameter.rs
+++ b/src/parameter.rs
@@ -54,9 +54,9 @@ impl Parameter {
}
}
-// pub fn as_string(&self) -> Option<String> {
-// Some(self.as_str()?.to_string())
-// }
+ pub fn as_string(&self) -> Option<String> {
+ Some(self.as_str()?.to_string())
+ }
pub fn as_i64(&self) -> Option<i64> {
if let Self::Int(num) = self {