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:
Fintan Halpenny
2022-09-23 08:45:15 +01:00
parent 38c84a5958
commit 32902d0174
5 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -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()))
})?;