Spam filter performance and accuracy improvements (part 2)
This commit is contained in:
@@ -35,6 +35,12 @@ impl From<CompactString> for Value {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Box<str>> for Value {
|
||||
fn from(value: Box<str>) -> Self {
|
||||
Self::String(CompactString::from(value))
|
||||
}
|
||||
}
|
||||
|
||||
impl From<u64> for Value {
|
||||
fn from(value: u64) -> Self {
|
||||
Self::UInt(value)
|
||||
|
||||
Reference in New Issue
Block a user