Update Rust toolchain to 1.74

This commit is contained in:
cloudhead
2023-11-17 16:58:24 +01:00
parent 79644941bd
commit d4ec2176bb
35 changed files with 153 additions and 96 deletions
+4 -4
View File
@@ -439,10 +439,10 @@ impl Decode for Hunk<Modification> {
}
let Some(line) = Modification::try_decode(r)? else {
return Err(Error::syntax(format!(
"expected '{}' old lines and '{}' new lines, but found '{}' and '{}'",
header.old_size, header.new_size, old_line, new_line,
)));
return Err(Error::syntax(format!(
"expected '{}' old lines and '{}' new lines, but found '{}' and '{}'",
header.old_size, header.new_size, old_line, new_line,
)));
};
let line = match line {