Skip to content

Commit 113cdae

Browse files
authored
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.
1 parent c6295ad commit 113cdae

File tree

1 file changed

+1
-0
lines changed
  • exercises/standard_library_types

1 file changed

+1
-0
lines changed

exercises/standard_library_types/arc1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
// I AM NOT DONE
88

9+
#![forbid(unused_imports)] // Do not change this, (or the next) line.
910
use std::sync::Arc;
1011
use std::thread;
1112

0 commit comments

Comments
 (0)