summary refs log tree commit diff
path: root/src/result.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/result.rs')
-rw-r--r--src/result.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/result.rs b/src/result.rs
index 8207680..b757636 100644
--- a/src/result.rs
+++ b/src/result.rs
@@ -1,3 +1,5 @@
+#![forbid(unsafe_code)]
+
 use crate::error::Error;
 
 pub type Result<T> = std::result::Result<T, Error>;