From 23a9c3953d8f2209c98843048529e70b93bb03a2 Mon Sep 17 00:00:00 2001 From: Amjad Alsharafi <26300843+Amjad50@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:14:55 +0800 Subject: [PATCH] Fix `clippy::deprecated_cfg_attr` on compiler_builtins --- src/math/exp2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/exp2.rs b/src/math/exp2.rs index e0e385df..dce2ab4d 100644 --- a/src/math/exp2.rs +++ b/src/math/exp2.rs @@ -28,7 +28,7 @@ use super::scalbn; const TBLSIZE: usize = 256; -#[cfg_attr(rustfmt, rustfmt_skip)] +#[rustfmt::skip] static TBL: [u64; TBLSIZE * 2] = [ // exp2(z + eps) eps 0x3fe6a09e667f3d5d, 0x3d39880000000000,