From cf11eb7f54ae0f1f5cc91fc3148898a308272f1d Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 3 Feb 2023 11:46:39 +0000 Subject: [PATCH] Add `clippy::mem_forget` denial rule --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 8c1448a2..8c1259b2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,7 @@ //! can be used in distributed mode by connecting to a distributed [TiKV](https://tikv.org) //! key-value store. +#![deny(clippy::mem_forget)] #![forbid(unsafe_code)] #[macro_use]