Skip to content

Commit

Permalink
Fix trivial typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
oSoMoN committed Feb 9, 2024
1 parent 02632e9 commit 54a5407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn main() -> Result<(), String> {
let to_content = match fs::read(&to) {
Ok(to_content) => to_content,
Err(e) => {
return Err(format!("Failed to read from-file: {e}"));
return Err(format!("Failed to read to-file: {e}"));
}
};
// run diff
Expand Down

0 comments on commit 54a5407

Please sign in to comment.