소스 검색

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!(),
         }
     }