Skip to content

Commit 1657291

Browse files
committed
Use &str in interface
1 parent 8714337 commit 1657291

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pipeline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub fn build_graphs(
8181
}
8282

8383
/// Read file line by line. Pass every valid line to handler for parsing.
84-
fn read_file<F>(filepath: &String, log_every: u64, mut line_handler: F)
84+
fn read_file<F>(filepath: &str, log_every: u64, mut line_handler: F)
8585
where
8686
F: FnMut(&str),
8787
{

0 commit comments

Comments
 (0)