Skip to content

Commit 88ab7cc

Browse files
committed
clippy
1 parent 14a8472 commit 88ab7cc

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-sdk/src/trace

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/trace/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ mod tests {
132132
if let Some(baggage_value) = baggage.get("bag-key") {
133133
span.set_attribute(KeyValue::new("bag-key", baggage_value.to_string()));
134134
} else {
135-
assert!(false, "Baggage should be present in the context");
135+
unreachable!("Baggage should be present in the context");
136136
}
137137
}
138138

0 commit comments

Comments
 (0)