Skip to content

Commit

Permalink
Update sophia from 0.7 to 0.8 (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagner84 authored Jan 19, 2024
1 parent d5287cf commit 657d6a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/pica-lint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ pica-matcher = { workspace = true, features = ["serde"] }
pica-path = { workspace = true, features = ["serde"] }
pica-record = { workspace = true }
serde = { workspace = true, features = ["derive"] }
sophia = { version = "0.7" }
sophia = { version = "0.8" }
toml = { workspace = true }

2 changes: 1 addition & 1 deletion crates/pica-lint/src/lints/iri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl Lint for Iri {
.path(&self.path, &Default::default())
.iter()
.map(ToString::to_string)
.any(|value| sophia::iri::Iri::new(&value).is_err())
.any(|value| sophia::iri::Iri::new(value).is_err())
.into()
}
}

0 comments on commit 657d6a4

Please sign in to comment.