remove hardcoded paths
This commit is contained in:
parent
e2521179b7
commit
9e335ab0a7
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@ fn get_differences(left_text: &String, right_text: &String) -> Vec<Difference> {
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let left_file =
|
let left_file =
|
||||||
read_to_string("/Users/dnutiu/RustroverProjects/ndiff/a.txt").expect("Left file not found");
|
read_to_string("a.txt").expect("Left file not found");
|
||||||
let right_file =
|
let right_file =
|
||||||
read_to_string("/Users/dnutiu/RustroverProjects/ndiff/b.txt").expect("Right file found");
|
read_to_string("b.txt").expect("Right file not found");
|
||||||
|
|
||||||
let res: Vec<Difference> = get_differences(&left_file, &right_file);
|
let res: Vec<Difference> = get_differences(&left_file, &right_file);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue