Skip to content

Commit fc2f404

Browse files
committed
🚨 disable linter for vendored code
Signed-off-by: David Bernard <[email protected]>
1 parent 4f8e15b commit fc2f404

File tree

2 files changed

+2
-1
lines changed
  • tonic-tracing-opentelemetry/src

2 files changed

+2
-1
lines changed

tonic-tracing-opentelemetry/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ pub mod middleware;
99

1010
// HACK vendor of tracing_opentelemetry_instrumentation_sdk until tonic can support hyper 1, http 1, ...
1111
// TODO reexport tracing_opentelemetry_instrumentation_sdk crate
12+
#[allow(dead_code)]
1213
pub mod tracing_opentelemetry_instrumentation_sdk;

tonic-tracing-opentelemetry/src/tracing_opentelemetry_instrumentation_sdk/http/tools.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ mod tests {
242242
}
243243

244244
#[rstest]
245-
#[case("http://example.org/hello/world", "http")]
245+
#[case("http://example.org/hello/world", "http")] // Devskim: ignore DS137138
246246
#[case("https://example.org/hello/world", "https")]
247247
#[case("foo://example.org/hello/world", "foo")]
248248
fn test_extract_url_scheme(#[case] input: &str, #[case] expected: &str) {

0 commit comments

Comments
 (0)