diff --git a/src/grm/main.rs b/src/grm/main.rs index 5972102..2c46f11 100644 --- a/src/grm/main.rs +++ b/src/grm/main.rs @@ -1,3 +1,5 @@ +#![forbid(unsafe_code)] + use std::path::Path; use std::process; diff --git a/src/lib.rs b/src/lib.rs index 7cbf992..d406b95 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,6 @@ #![feature(io_error_more)] #![feature(const_option_ext)] +#![forbid(unsafe_code)] use std::path::Path;