Forbid unsafe code

This commit is contained in:
Carl Dong 2019-02-20 17:16:21 -05:00
parent 084703cba9
commit 1ad1c11649
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@
#![cfg_attr(feature = "clippy", allow(extend_from_slice))] // `extend_from_slice` only available since 1.6
// Coding conventions
#![forbid(unsafe_code)]
#![deny(non_upper_case_globals)]
#![deny(non_camel_case_types)]
#![deny(non_snake_case)]