Skip to content

Commit 4eda296

Browse files
committed
fmt
1 parent 1074d9e commit 4eda296

File tree

2 files changed

+5
-7
lines changed
  • opentelemetry/src
  • opentelemetry-otlp/tests/integration_test/tests

2 files changed

+5
-7
lines changed

opentelemetry-otlp/tests/integration_test/tests/logs.rs

+4-6
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ fn init_logs() -> Result<sdklogs::LoggerProvider> {
3030
.with_resource(
3131
Resource::builder_empty()
3232
.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-
)
33+
.with_attribute(KeyValue::new(
34+
"data",
35+
Value::Bytes(b"\x80\x80\x80".to_vec().into()),
36+
))
3937
.build(),
4038
)
4139
.build())

opentelemetry/src/common.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ impl BytesValue {
378378
pub fn as_slice(&self) -> &[u8] {
379379
self.0.as_slice()
380380
}
381-
381+
382382
/// Retruns a Vec<u8> from the BytesValue
383383
pub fn into_vec(self) -> Vec<u8> {
384384
match self.0 {

0 commit comments

Comments
 (0)