Skip to content

Commit 9a9d878

Browse files
committed
Fix clippy implicit_clone in RDF parser
1 parent bf698a4 commit 9a9d878

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parsing/rdf_parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub fn parse_rdf_line(line: &str, add_timestamps: bool) -> Result<RDFEvent, Stri
2828
// Parse optional graph (URI in angle brackets)
2929
let (graph, _) = if !remaining.trim().is_empty() {
3030
match parse_uri(remaining, "graph") {
31-
Ok((g, rest)) => (g.to_string(), rest),
31+
Ok((g, rest)) => (g.clone(), rest),
3232
Err(_) => (String::new(), remaining),
3333
}
3434
} else {

0 commit comments

Comments
 (0)