Forbid unsafe code

This commit is contained in:
Stjepan Glavina 2020-09-22 23:37:27 +02:00
parent 6209dc82ee
commit ac578a4e7e
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@
//! # std::io::Result::Ok(()) });
//! ```
#![forbid(unsafe_code)]
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
use std::convert::TryFrom;