Skip to content

Commit 54a5407

Browse files
committed
Fix trivial typo in error message
1 parent 02632e9 commit 54a5407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fn main() -> Result<(), String> {
3333
let to_content = match fs::read(&to) {
3434
Ok(to_content) => to_content,
3535
Err(e) => {
36-
return Err(format!("Failed to read from-file: {e}"));
36+
return Err(format!("Failed to read to-file: {e}"));
3737
}
3838
};
3939
// run diff

0 commit comments

Comments
 (0)