Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Explicitly disable unsafe_op_in_unsafe_fn lint
Browse files Browse the repository at this point in the history
This is allow-by-default for now in 2021 edition, but will become
warn-by-default in 2024 edition. The lint is not going to provide value
in this crate so we'll plan to keep it turned off even after adopting
2024 edition.
  • Loading branch information
dtolnay committed Dec 21, 2023
1 parent 61f3ab8 commit 63131f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#![no_std]
#![doc(html_root_url = "https://docs.rs/unsafe-libyaml/0.2.10")]
#![allow(non_camel_case_types, non_snake_case)]
#![allow(non_camel_case_types, non_snake_case, unsafe_op_in_unsafe_fn)]
#![warn(clippy::pedantic)]
#![allow(
clippy::bool_to_int_with_if,
Expand Down

0 comments on commit 63131f5

Please sign in to comment.