Skip to content

Commit 1106b0f

Browse files
authored
chore: Nit fix to clear CI (#3120)
1 parent 0640933 commit 1106b0f

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)