mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-03 18:30:35 +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:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user