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:
Aleksey Kladov 2020-02-04 16:03:39 +01:00
parent 3b2f02a534
commit 51c84febec
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#![deny(unsafe_code)]
#![forbid(unsafe_code)]
use std::collections::BTreeMap;
use std::future::Future;