Add forbid(unsafe_code) at crate root

This commit is contained in:
Ivan Smirnov 2021-12-31 01:54:37 +03:00
parent a9a01c6fbd
commit 9e7c508a34

View file

@ -1,3 +1,4 @@
#![forbid(unsafe_code)]
#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)] #![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)]
#![allow( #![allow(
clippy::inline_always, clippy::inline_always,