From 0d35c6ebed68107dd096991bc990f5a8fee6248d Mon Sep 17 00:00:00 2001 From: tomasavola <108414862+tomasavola@users.noreply.github.com> Date: Mon, 12 Aug 2024 09:49:20 -0300 Subject: [PATCH] Update "Why is this bad?" --- docs/docs/detectors/7-avoid-core-mem-forget.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/detectors/7-avoid-core-mem-forget.md b/docs/docs/detectors/7-avoid-core-mem-forget.md index b7650ff4..fe03abec 100644 --- a/docs/docs/detectors/7-avoid-core-mem-forget.md +++ b/docs/docs/detectors/7-avoid-core-mem-forget.md @@ -12,7 +12,7 @@ The `core::mem::forget` function is used to forget about a value without running ## Why is this bad? -Using this function is a bad practice because it can cause memory leaks and logical errors. +Using this function is a bad practice because this can lead to memory leaks, resource leaks and logic errors. ## Issue example