Forbid unsafe code
This commit is contained in:
parent
6209dc82ee
commit
ac578a4e7e
|
@ -53,6 +53,7 @@
|
|||
//! # std::io::Result::Ok(()) });
|
||||
//! ```
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
||||
|
||||
use std::convert::TryFrom;
|
||||
|
|
Loading…
Reference in New Issue