Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix trivial typo in error message
  • Loading branch information
oSoMoN committed Feb 9, 2024
commit 54a5407bec1e96f7526c0fb5e0cbd40e46496c1e
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