Skip to content

Commit

Permalink
pleasing clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
pchampin committed Sep 13, 2024
1 parent d5be533 commit 4d02bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/src/loader/_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub trait Loader: Sync + Sized {
T: Borrow<str>,
G: CollectibleGraph,
{
debug_assert!(iri.as_str().find(|c| c == '#').is_none());
debug_assert!(iri.as_str().find('#').is_none());
let iri_str = iri.as_str();
let (data, ctype) = self.get(iri.as_ref())?;
let bufread = io::BufReader::new(&data[..]);
Expand Down

0 comments on commit 4d02bb5

Please sign in to comment.