mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-29 14:10:27 +08:00
nix: rust-1.64
rust-1.64 was announced[0]. Update the nix sources to pick up the latest stable. This update requires some fixes suggested by clippy. [0]: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
This commit is contained in:
@@ -298,7 +298,7 @@ where
|
||||
.ok_or(Self::Err::Missing("namespace"))
|
||||
.and_then(|nid| {
|
||||
(nid == "rad")
|
||||
.then(|| ())
|
||||
.then_some(())
|
||||
.ok_or_else(|| Self::Err::InvalidNID(nid.to_string()))
|
||||
})?;
|
||||
|
||||
@@ -307,7 +307,7 @@ where
|
||||
.ok_or(Self::Err::Missing("protocol"))
|
||||
.and_then(|proto| {
|
||||
(R::PROTOCOL == proto)
|
||||
.then(|| ())
|
||||
.then_some(())
|
||||
.ok_or_else(|| Self::Err::InvalidProto(proto.to_string()))
|
||||
})?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user