From 5a122371da9023df122cec749aac43bff8984f65 Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Sun, 29 Dec 2019 00:09:18 -0500 Subject: [PATCH] forbid unsafe code --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 025495b..ac9a4a2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![forbid(unsafe_code)] + use actix_web::{middleware::Logger, App, HttpServer}; use clap::{crate_authors, crate_version, load_yaml, App as ClapApp}; use error::BunBunError;