From 29fd0d8f63ac78e398e331fd034e5164286dfc4c Mon Sep 17 00:00:00 2001 From: Aleksander Heintz Date: Sun, 11 Feb 2024 02:19:29 +0100 Subject: [PATCH] chore: fix clippy warning --- crates/aligned-buffer/src/raw/cap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/aligned-buffer/src/raw/cap.rs b/crates/aligned-buffer/src/raw/cap.rs index 7301dc7..7794a97 100644 --- a/crates/aligned-buffer/src/raw/cap.rs +++ b/crates/aligned-buffer/src/raw/cap.rs @@ -58,4 +58,4 @@ impl fmt::Debug for TaggedCap { } static_assertions::const_assert!(TaggedCap::zero().value() == 0); -static_assertions::const_assert!(TaggedCap::zero().is_allocated() == false); +static_assertions::const_assert!(!TaggedCap::zero().is_allocated());