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
+1 -1
View File
@@ -21,7 +21,7 @@ pub trait Lit: Sized + sealed::Sealed {
#[inline]
fn from_component(c: &name::Component) -> Option<Self> {
(c.as_ref() == Self::NAME).then(|| Self::SELF)
(c.as_ref() == Self::NAME).then_some(Self::SELF)
}
}