summaryrefslogtreecommitdiffstats
path: root/tui-react/src
diff options
context:
space:
mode:
authorSebastian Thiel <sthiel@thoughtworks.com>2019-07-22 12:57:30 +0800
committerSebastian Thiel <sthiel@thoughtworks.com>2019-07-22 12:57:30 +0800
commitf4028baf655e2994459e55d62435de4456fee80f (patch)
tree27d7060027c2abdd18d56ae2719fa46fdf73ed05 /tui-react/src
parent387cc1f86e5aec8a20a25ea71f74e948b110d2c6 (diff)
Forbid unsafe everywhere
Looks much better in cargo-geiger, and is the right thing to do I believe. Most crates should be able to work without any unsafe.
Diffstat (limited to 'tui-react/src')
-rw-r--r--tui-react/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tui-react/src/lib.rs b/tui-react/src/lib.rs
index e44e39f..b7d5b94 100644
--- a/tui-react/src/lib.rs
+++ b/tui-react/src/lib.rs
@@ -1,3 +1,5 @@
+#![forbid(unsafe_code)]
+
mod list;
mod terminal;