mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-29 14:10:27 +08:00
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:
@@ -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())))
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user