Merge pull request #237 from dongcarl/2019-02-forbid-unsafe

Forbid unsafe code
This commit is contained in:
Carl Dong 2019-02-21 17:37:59 -05:00 committed by GitHub
commit 4c742fbaa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)]