Skip to content

Commit 7b285d0

Browse files
authored
Rollup merge of #95791 - oconnor663:doc_comment, r=thomcc
hide an #[allow] directive from the Arc::new_cyclic doc example A minor docs cleanup.
2 parents fdfdb33 + e0e64a8 commit 7b285d0

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)