Skip to content

Commit

Permalink
hide an #[allow] directive from the Arc::new_cyclic doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 committed Apr 8, 2022
1 parent e745b4d commit e0e64a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ impl<T> Arc<T> {
///
/// # Example
/// ```
/// #![allow(dead_code)]
/// # #![allow(dead_code)]
/// use std::sync::{Arc, Weak};
///
/// struct Gadget {
Expand Down

0 comments on commit e0e64a8

Please sign in to comment.