mirror of https://github.com/stjepang/smol
forbid unsafe code
forbid is stronger than deny in that you can override `deny` with allow, but `forbid` is non-overrideable.
This commit is contained in:
parent
3b2f02a534
commit
51c84febec
|
@ -1,4 +1,4 @@
|
|||
#![deny(unsafe_code)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
use std::future::Future;
|
||||
|
|
Loading…
Reference in New Issue