From 62160921827a5d3e852662d5bc2e692e0ddc3114 Mon Sep 17 00:00:00 2001 From: Hussain Date: Thu, 12 Sep 2024 03:06:46 +0300 Subject: [PATCH] fix: showing unnecessary `x is never used` warnings --- dev/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/Cargo.toml b/dev/Cargo.toml index 2accf3a1..d90f2051 100644 --- a/dev/Cargo.toml +++ b/dev/Cargo.toml @@ -207,6 +207,8 @@ panic = "abort" unsafe_code = "forbid" # You don't need unstable features in Rustlings and shouldn't rely on them while learning Rust unstable_features = "forbid" +# To avoid showing unnecessary `x is never used` warnings +unused = { level = "allow", priority = -1 } [lints.clippy] # You forgot a `todo!()`