From 9a3b1d382e976c5f9a8f8318b908a0d0355d19c4 Mon Sep 17 00:00:00 2001 From: Alexx Roche <github@alexx.net> Date: Mon, 8 Jun 2020 15:27:18 +0200 Subject: [PATCH] Passively introduce attributes Ensure that std::sync::Arc is actually used, as this exercise can be compiled using things already learnt in previous exercises. --- exercises/standard_library_types/arc1.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/exercises/standard_library_types/arc1.rs b/exercises/standard_library_types/arc1.rs index 9784e84..07932c6 100644 --- a/exercises/standard_library_types/arc1.rs +++ b/exercises/standard_library_types/arc1.rs @@ -6,6 +6,7 @@ // I AM NOT DONE +#![forbid(unused_imports)] // Do not change this, (or the next) line. use std::sync::Arc; use std::thread;