Преглед изворни кода

Support Bytes in AttributeValue (#543)

Marc Espín пре 2 година
родитељ
комит
8427a3f657
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/core/src/arbitrary_value.rs

+ 1 - 1
packages/core/src/arbitrary_value.rs

@@ -65,7 +65,7 @@ impl<'a> std::fmt::Display for AttributeValue<'a> {
             AttributeValue::Vec4Float(_, _, _, _) => todo!(),
             AttributeValue::Vec4Int(_, _, _, _) => todo!(),
             AttributeValue::Vec4Uint(_, _, _, _) => todo!(),
-            AttributeValue::Bytes(_) => todo!(),
+            AttributeValue::Bytes(a) => write!(f, "{:?}", a),
             AttributeValue::Any(_) => todo!(),
         }
     }