Use deny(unsafe_code) instead of forbid(unsafe_code)

This commit is contained in:
Chen Chengjun
2024-05-22 17:46:27 +08:00
committed by Tate, Hongliang Tian
parent da3e279ac6
commit c02eacd50c
18 changed files with 18 additions and 18 deletions

View File

@ -1,7 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
#![cfg_attr(not(test), no_std)]
#![forbid(unsafe_code)]
#![deny(unsafe_code)]
use core::{fmt::Debug, ops::Range};