From 5e3bacc7294d0a4ddf661e986dd58ecbe589e843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Losiggio?= Date: Mon, 29 Apr 2024 11:27:46 -0300 Subject: [PATCH] remove readme.md --- detectors/lazy-values-not-set/README.md | 17 ----------------- detectors/lazy-values-not-set/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 detectors/lazy-values-not-set/README.md diff --git a/detectors/lazy-values-not-set/README.md b/detectors/lazy-values-not-set/README.md deleted file mode 100644 index 269c7b70..00000000 --- a/detectors/lazy-values-not-set/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# template - -### What it does - -### Why is this bad? - -### Known problems -Remove if none. - -### Example -```rust -// example code where a warning is issued -``` -Use instead: -```rust -// example code that does not raise a warning -``` diff --git a/detectors/lazy-values-not-set/src/lib.rs b/detectors/lazy-values-not-set/src/lib.rs index c36c61e2..50eb5d63 100644 --- a/detectors/lazy-values-not-set/src/lib.rs +++ b/detectors/lazy-values-not-set/src/lib.rs @@ -31,7 +31,7 @@ dylint_linting::impl_late_lint! { long_message: "When a get is performed, a copy of the value is received; if that copy is modified, the new value must be set afterwards.", severity: "Critical", help: "https://coinfabrik.github.io/scout/docs/vulnerabilities/lazy-values-not-set", - vulnerability_class: "Known Bugs", + vulnerability_class: "Best practices", } }