Merge pull request #237 from dongcarl/2019-02-forbid-unsafe
Forbid unsafe code
This commit is contained in:
commit
4c742fbaa1
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue