From 017c14a2f15d8ccc0c32ba4d1a1032d6a8b704e7 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 7 Oct 2024 22:05:30 -0700 Subject: [PATCH] don't use #[allow(..., reason = "...")] since that's not stable yet on rust 1.80.1 --- crates/fayalite/src/module.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/fayalite/src/module.rs b/crates/fayalite/src/module.rs index 7d6949c..7387832 100644 --- a/crates/fayalite/src/module.rs +++ b/crates/fayalite/src/module.rs @@ -607,10 +607,8 @@ impl BlockStack { pub struct Id(NonZeroU64); impl Id { - #[allow( - clippy::new_without_default, - reason = "returns a different value each time, so there isn't really a default value" - )] + // returns a different value each time, so there isn't really a default value + #[allow(clippy::new_without_default)] pub fn new() -> Self { static NEXT_ID: AtomicU64 = AtomicU64::new(1); Self(