From 6f64a5eea1da99a20a58335b445d29bb46b92380 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Fri, 12 Jun 2026 08:01:24 -0600 Subject: [PATCH] ctutils: use `reason` instead of comment in `forbid` attribute --- ctutils/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctutils/src/lib.rs b/ctutils/src/lib.rs index bfa628ed..4ce5dba0 100644 --- a/ctutils/src/lib.rs +++ b/ctutils/src/lib.rs @@ -4,7 +4,7 @@ html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg", html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg" )] -#![forbid(unsafe_code)] // `unsafe` should go in `cmov` +#![forbid(unsafe_code, reason = "`unsafe` should go in `cmov`")] #![warn( clippy::arithmetic_side_effects, clippy::integer_division_remainder_used,