mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 17:05:36 +01:00
fix cargo fmt
This commit is contained in:
@@ -989,11 +989,11 @@ pub fn parse_numeric_literal(text: &str) -> Result<OwnedValue> {
|
||||
}
|
||||
return Ok(OwnedValue::Integer(-value));
|
||||
}
|
||||
|
||||
|
||||
if let Ok(int_value) = text.parse::<i64>() {
|
||||
return Ok(OwnedValue::Integer(int_value));
|
||||
}
|
||||
|
||||
|
||||
let float_value = text.parse::<f64>()?;
|
||||
Ok(OwnedValue::Float(float_value))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user