We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad03447 commit 0175f1cCopy full SHA for 0175f1c
core/types.rs
@@ -484,8 +484,8 @@ pub struct ExternalAggState {
484
/// format!("{}", value);
485
/// ---BAD---
486
/// match value {
487
-/// Value::from_i64(i) => *i.as_str(),
488
-/// Value::from_f64(f) => *f.as_str(),
+/// Value::Numeric(Numeric::Integer(i)) => i.to_string(),
+/// Value::Numeric(Numeric::Float(f)) => f64::from(*f).to_string(),
489
/// ....
490
/// }
491
impl Display for Value {
0 commit comments