Skip to content

Commit 19dc93c

Browse files
cijothomasdjc
authored andcommitted
Fix CI
1 parent 17316b1 commit 19dc93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry/src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl OtelString {
154154

155155
impl PartialOrd for OtelString {
156156
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
157-
self.as_str().partial_cmp(other.as_str())
157+
Some(self.cmp(other))
158158
}
159159
}
160160

0 commit comments

Comments
 (0)