Skip to content

Commit 8ef634a

Browse files
committed
fmt
1 parent d444d7d commit 8ef634a

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
@@ -40,12 +40,10 @@ fn init_logs(is_simple: bool) -> Result<sdklogs::LoggerProvider> {
4040
.with_resource(
4141
Resource::builder_empty()
4242
.with_service_name("logs-integration-test")
43-
.with_attribute(
44-
KeyValue::new(
45-
"data",
46-
Value::Bytes(b"\x80\x80\x80".to_vec().into()),
47-
)
48-
)
43+
.with_attribute(KeyValue::new(
44+
"data",
45+
Value::Bytes(b"\x80\x80\x80".to_vec().into()),
46+
))
4947
.build(),
5048
)
5149
.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)