Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pyohannes committed Apr 11, 2024
1 parent 7404c68 commit 96e3128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/weaver_semconv/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,10 @@ impl SemConvRegistry {
fn add_semconv_spec(&mut self, spec: SemConvSpec, origin: &str) -> Result<(), Error> {
if let Err(e) = spec.validate() {
return Err(Error::InvalidCatalog {
path_or_url: origin.to_string(),
path_or_url: origin.to_owned(),
line: None,
column: None,
error: e.to_owned(),
error: e.to_string(),
});
}
self.specs.push(SemConvSpecWithProvenance {
Expand Down

0 comments on commit 96e3128

Please sign in to comment.