diff options
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/atomics.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sync/mpmc_bounded_queue.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/atomics.rs b/src/libstd/sync/atomics.rs index bca7cf25944..6cc2f85bd95 100644 --- a/src/libstd/sync/atomics.rs +++ b/src/libstd/sync/atomics.rs @@ -105,7 +105,7 @@ //! } //! ``` -#[allow(missing_doc)]; +#![allow(missing_doc)] use intrinsics; use cast; diff --git a/src/libstd/sync/mpmc_bounded_queue.rs b/src/libstd/sync/mpmc_bounded_queue.rs index 95f592baff0..dfa962cdb80 100644 --- a/src/libstd/sync/mpmc_bounded_queue.rs +++ b/src/libstd/sync/mpmc_bounded_queue.rs @@ -25,7 +25,7 @@ * policies, either expressed or implied, of Dmitry Vyukov. */ -#[allow(missing_doc, dead_code)]; +#![allow(missing_doc, dead_code)] // http://www.1024cores.net/home/lock-free-algorithms/queues/bounded-mpmc-queue |
