Rust 1.67

Rust 1.67 was announced[0]. Update the necessary files for running
1.67 and fix the clippy suggestions for string interpolation.

[0]: https://blog.rust-lang.org/2023/01/26/Rust-1.67.0.html

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
Fintan Halpenny
2023-02-04 19:30:29 +01:00
committed by Alexis Sellier
parent 6d9154d427
commit d8da80821b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ where
}
_ => Json(Error {
success: false,
error: format!("{}", rejection),
error: format!("{rejection}"),
}),
};
@@ -72,7 +72,7 @@ where
}),
_ => Json(Error {
success: false,
error: format!("{}", rejection),
error: format!("{rejection}"),
}),
};
+1 -1
View File
@@ -254,7 +254,7 @@ async fn git_http_backend(
Err(Error::Backend)
}
Err(err) => {
panic!("failed to wait for git-http-backend: {}", err);
panic!("failed to wait for git-http-backend: {err}");
}
}
}