From 113cdae2d4e4c55905e8056ad326ede7fd7de356 Mon Sep 17 00:00:00 2001 From: Alexx Roche Date: Sun, 14 Jun 2020 12:15:35 +0200 Subject: [PATCH] fix(arc1): Passively introduce attributes (#429) 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;