Skip to content

Commit fc57151

Browse files
authored
Merge branch 'main' into cijothomas/batchspanprocessor1
2 parents 9d487ec + 1106b0f commit fc57151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry/src/trace/span_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl TraceState {
2626
return false;
2727
}
2828

29-
let allowed_special = |b: u8| (b == b'_' || b == b'-' || b == b'*' || b == b'/');
29+
let allowed_special = |b: u8| b == b'_' || b == b'-' || b == b'*' || b == b'/';
3030
let mut vendor_start = None;
3131
for (i, &b) in key.as_bytes().iter().enumerate() {
3232
if !(b.is_ascii_lowercase() || b.is_ascii_digit() || allowed_special(b) || b == b'@') {

0 commit comments

Comments
 (0)