Skip to content

Commit c65c09d

Browse files
authored
ctutils: use reason instead of comment in forbid attribute (#1489)
1 parent cbd0963 commit c65c09d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ctutils/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
55
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg"
66
)]
7-
#![forbid(unsafe_code)] // `unsafe` should go in `cmov`
7+
#![forbid(unsafe_code, reason = "`unsafe` should go in `cmov`")]
88
#![warn(
99
clippy::arithmetic_side_effects,
1010
clippy::integer_division_remainder_used,

0 commit comments

Comments
 (0)