Skip to content

Commit 01f4769

Browse files
authored
remove debug print, and add clippy lint to prevent future regressions (#32)
1 parent 378594a commit 01f4769

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ export-http-json = ["opentelemetry-otlp/http-json", "opentelemetry-otlp/reqwest-
5454
missing_docs = "warn"
5555

5656
[lints.clippy]
57+
print_stdout = "deny"
58+
print_stderr = "deny"
5759
dbg_macro = "deny"
5860
unwrap_used = "deny"
5961
# in general we lint against the pedantic group, but we will whitelist

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ impl LogfireConfigBuilder {
421421
]);
422422
opentelemetry::global::set_text_map_propagator(propagator);
423423

424-
println!("setting meter provider");
425424
opentelemetry::global::set_meter_provider(meter_provider.clone());
426425
}
427426

tests/test_basic_exports.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ fn test_basic_span() {
972972
"code.lineno",
973973
),
974974
value: I64(
975-
648,
975+
647,
976976
),
977977
},
978978
KeyValue {

0 commit comments

Comments
 (0)