Mark simple functions const.
This commit is contained in:
@@ -14,6 +14,7 @@ use crate::FLOAT;
|
||||
#[cfg(feature = "decimal")]
|
||||
use rust_decimal::Decimal;
|
||||
|
||||
/// The message: never fails because this is built-in code and the type is already checked
|
||||
const BUILTIN: &str = "never fails because this is built-in code and the type is already checked";
|
||||
|
||||
/// Is the type a numeric type?
|
||||
|
Reference in New Issue
Block a user