Procházet zdrojové kódy

Support Bytes in AttributeValue (#543)

Marc Espín před 2 roky
rodič
revize
8427a3f657
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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!(),
         }
     }