nix: update to rust-1.65

Update to rust-1.65[0].

All hail our new GATs overlord!

[0]: https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
Fintan Halpenny
2022-11-04 11:13:57 +00:00
parent 7a82c404c4
commit d349b18156
8 changed files with 34 additions and 16 deletions
+1 -3
View File
@@ -81,9 +81,7 @@ impl<'a> Blob<'a> {
let reference = match branch {
Branch::Name(name) => {
git.find_reference(&name).or_matches(is_not_found_err, || {
Err(Error::NotFound(NotFound::NoSuchBranch(
name.to_owned().to_string(),
)))
Err(Error::NotFound(NotFound::NoSuchBranch(name.into_owned())))
})
},