diff options
| author | Alexx Roche <github@alexx.net> | 2020-06-14 12:15:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-14 12:15:35 +0200 |
| commit | 113cdae2d4e4c55905e8056ad326ede7fd7de356 (patch) | |
| tree | 1ca9227fc5e575bde02dab2d054ff26bfdc1239d /exercises | |
| parent | c6295ade331728b8a95f9b3ad0e52e19683fe017 (diff) | |
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.
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/standard_library_types/arc1.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
