Skip to content

Commit e0e64a8

Browse files
committed
hide an #[allow] directive from the Arc::new_cyclic doc example
1 parent e745b4d commit e0e64a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ impl<T> Arc<T> {
369369
///
370370
/// # Example
371371
/// ```
372-
/// #![allow(dead_code)]
372+
/// # #![allow(dead_code)]
373373
/// use std::sync::{Arc, Weak};
374374
///
375375
/// struct Gadget {

0 commit comments

Comments
 (0)