drop any values correctly

This commit is contained in:
= committed 2022-12-26 10:53:25 -06:00
1 parent c245f04c8c
commit 1555500fbd
5 files changed
+23 -13

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ impl From<AttributeValue<'_>> for OwnedAttributeValue {
AttributeValue::Float(float) => Self::Float(float),
AttributeValue::Int(int) => Self::Int(int),
AttributeValue::Bool(bool) => Self::Bool(bool),
AttributeValue::Any(any) => Self::Any(any),
AttributeValue::Any(any) => Self::Any(any.borrow().as_ref().unwrap().clone()),
AttributeValue::None => Self::None,
_ => Self::None,
}