We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1074d9e commit 4eda296Copy full SHA for 4eda296
opentelemetry-otlp/tests/integration_test/tests/logs.rs
@@ -30,12 +30,10 @@ fn init_logs() -> Result<sdklogs::LoggerProvider> {
30
.with_resource(
31
Resource::builder_empty()
32
.with_service_name("logs-integration-test")
33
- .with_attribute(
34
- KeyValue::new(
35
- "data",
36
- Value::Bytes(b"\x80\x80\x80".to_vec().into()),
37
- )
38
+ .with_attribute(KeyValue::new(
+ "data",
+ Value::Bytes(b"\x80\x80\x80".to_vec().into()),
+ ))
39
.build(),
40
)
41
.build())
opentelemetry/src/common.rs
@@ -378,7 +378,7 @@ impl BytesValue {
378
pub fn as_slice(&self) -> &[u8] {
379
self.0.as_slice()
380
}
381
-
+
382
/// Retruns a Vec<u8> from the BytesValue
383
pub fn into_vec(self) -> Vec<u8> {
384
match self.0 {
0 commit comments